周星驰 · 2011-01-19 08:50:40 · 阅读: 442 同时创建一个相应的function-based index CREATE INDEX customer_id_substr_idx ON your_table( substr( customer_id,1,8 ) );