SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001612s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002410s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001363s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000262s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001060s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000222s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000892s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000226s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000395s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001691s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `partno` LIKE 'MB2S%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007570s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('5966871','5966577','5966860','8545118','5143813','8545463','8545112','4694','5968233','1319','6930889','5144231') ORDER BY FIELD(s.id, 5966871,5966577,5966860,8545118,5143813,8545463,8545112,4694,5968233,1319,6930889,5144231) [ RunTime:0.007499s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5966871 LIMIT 4 [ RunTime:0.000886s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5966871 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004761s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5966871 ORDER BY `unit` DESC [ RunTime:0.007021s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001700s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5966871 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5966871 ORDER BY `minOrder` ASC [ RunTime:0.000566s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5966577 LIMIT 4 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5966577 ORDER BY `minOrder` ASC [ RunTime:0.005739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5966577 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5966577 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5966577 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5966860 LIMIT 4 [ RunTime:0.004129s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5966860 ORDER BY `minOrder` ASC [ RunTime:0.001317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5966860 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5966860 LIMIT 2 [ RunTime:0.000273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5966860 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8545118 LIMIT 4 [ RunTime:0.004459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545118 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8545118 ORDER BY `unit` DESC [ RunTime:0.001615s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8545118 LIMIT 2 [ RunTime:0.003457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545118 ORDER BY `minOrder` ASC [ RunTime:0.001233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5143813 LIMIT 4 [ RunTime:0.000612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5143813 ORDER BY `minOrder` ASC [ RunTime:0.008899s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5143813 ORDER BY `unit` DESC [ RunTime:0.000425s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5143813 LIMIT 2 [ RunTime:0.000881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5143813 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8545463 LIMIT 4 [ RunTime:0.000531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545463 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8545463 ORDER BY `unit` DESC [ RunTime:0.005666s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8545463 LIMIT 2 [ RunTime:0.001820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545463 ORDER BY `minOrder` ASC [ RunTime:0.001216s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8545112 LIMIT 4 [ RunTime:0.002095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545112 ORDER BY `minOrder` ASC [ RunTime:0.001358s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8545112 ORDER BY `unit` DESC [ RunTime:0.002704s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8545112 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545112 ORDER BY `minOrder` ASC [ RunTime:0.001063s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4694 LIMIT 4 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4694 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4694 ORDER BY `unit` DESC [ RunTime:0.000222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4694 LIMIT 2 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4694 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
select * from pdf where partno='MB2S' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001093s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001821s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MB2S' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000484s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5968233 LIMIT 4 [ RunTime:0.000928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5968233 ORDER BY `minOrder` ASC [ RunTime:0.007508s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5968233 ORDER BY `unit` DESC [ RunTime:0.005766s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5968233 LIMIT 2 [ RunTime:0.001972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5968233 ORDER BY `minOrder` ASC [ RunTime:0.005583s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1319 LIMIT 4 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1319 ORDER BY `minOrder` ASC [ RunTime:0.002634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1319 ORDER BY `unit` DESC [ RunTime:0.007109s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1319 LIMIT 2 [ RunTime:0.002706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1319 ORDER BY `minOrder` ASC [ RunTime:0.003182s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MB2S' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6930889 LIMIT 4 [ RunTime:0.005213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6930889 ORDER BY `minOrder` ASC [ RunTime:0.003948s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6930889 ORDER BY `unit` DESC [ RunTime:0.002738s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6930889 LIMIT 2 [ RunTime:0.003019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6930889 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5144231 LIMIT 4 [ RunTime:0.000672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5144231 ORDER BY `minOrder` ASC [ RunTime:0.002497s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5144231 ORDER BY `unit` DESC [ RunTime:0.005774s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5144231 LIMIT 2 [ RunTime:0.006455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5144231 ORDER BY `minOrder` ASC [ RunTime:0.004346s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'MB2S%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000499s ]