11.3. 多欄位索引
CREATE TABLE test2 (
major int,
minor int,
name varchar
);SELECT name FROM test2 WHERE major = constant AND minor = constant;CREATE INDEX test2_mm_idx ON test2 (major, minor);Last updated
Was this helpful?
CREATE TABLE test2 (
major int,
minor int,
name varchar
);SELECT name FROM test2 WHERE major = constant AND minor = constant;CREATE INDEX test2_mm_idx ON test2 (major, minor);Last updated
Was this helpful?
Was this helpful?