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