2007-09-13から1日間の記事一覧
たとえば create table customer(id integer, birthday date); create index customer_idx on customer(id, birthday); select * from customer order by id, birthday desc; これだとインデックスが使われない. そんな時は,こうしてインデックスを作って…
たとえば create table customer(id integer, birthday date); create index customer_idx on customer(id, birthday); select * from customer order by id, birthday desc; これだとインデックスが使われない. そんな時は,こうしてインデックスを作って…