大家好
mysql 创建分区表的时候,始终报有以下错误:
mysql> create table PARTTAB_T1_LIST1 ( id decimal(65) not null, name varchar(15) ,code decimal(65)) 
    ->   partition by list (code) 
    ->   (partition p_1 values in (1),
    ->   partition p_2 values in (2),
    ->   partition p_3 values in (3), 
    ->   partition p_null values in (null), 
    ->   partition p_default values (default));
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(default))' at line 7这是为什么?
难道那里学的不对吗?