Fix Using where; Using temporary; Using filesort
问题 I have two simple tables: CREATE TABLE cat_urls ( Id int(11) NOT NULL AUTO_INCREMENT, SIL_Id int(11) NOT NULL, SiteId int(11) NOT NULL, AsCatId int(11) DEFAULT NULL, Href varchar(2048) NOT NULL, ReferrerHref varchar(2048) NOT NULL DEFAULT '', AddedOn datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, GroupId int(11) DEFAULT NULL, PRIMARY KEY (Id), INDEX SIL (SIL_Id, AsCatId) ) CREATE TABLE products ( Id int(11) NOT NULL AUTO_INCREMENT, CatUrlId int(11) NOT NULL, Href varchar(2048) NOT NULL,