SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001231s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000380s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002428s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000369s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001906s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000284s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000331s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000225s ]
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.000437s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002048s ]
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 'P1200%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003244s ]
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 ('4763347','3971835','703','6625182','6625138','6624718','6624626','6624625','6624591','6624587','4763223','4763180','4762750','4306101','4305910','4305909','4305851') ORDER BY FIELD(s.id, 4763347,3971835,703,6625182,6625138,6624718,6624626,6624625,6624591,6624587,4763223,4763180,4762750,4306101,4305910,4305909,4305851) [ RunTime:0.006416s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4763347 LIMIT 4 [ RunTime:0.000476s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4763347 ORDER BY `minOrder` ASC [ RunTime:0.001329s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003867s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4763347 ORDER BY `unit` DESC [ RunTime:0.002339s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003865s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4763347 LIMIT 2 [ RunTime:0.001715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4763347 ORDER BY `minOrder` ASC [ RunTime:0.000202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3971835 LIMIT 4 [ RunTime:0.003053s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3971835 ORDER BY `minOrder` ASC [ RunTime:0.004001s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3971835 ORDER BY `unit` DESC [ RunTime:0.007497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3971835 LIMIT 2 [ RunTime:0.000506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3971835 ORDER BY `minOrder` ASC [ RunTime:0.005734s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 703 LIMIT 4 [ RunTime:0.000944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 703 ORDER BY `minOrder` ASC [ RunTime:0.001146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 703 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 703 LIMIT 2 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 703 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001952s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P1200' OR `brand` LIKE 'ETAL%' ) ) LIMIT 1 [ RunTime:0.001157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6625182 LIMIT 4 [ RunTime:0.011044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6625182 ORDER BY `minOrder` ASC [ RunTime:0.001145s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6625182 ORDER BY `unit` DESC [ RunTime:0.009349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6625182 LIMIT 2 [ RunTime:0.004405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6625182 ORDER BY `minOrder` ASC [ RunTime:0.000422s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6625138 LIMIT 4 [ RunTime:0.002071s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6625138 ORDER BY `minOrder` ASC [ RunTime:0.000621s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6625138 ORDER BY `unit` DESC [ RunTime:0.000652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6625138 LIMIT 2 [ RunTime:0.000546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6625138 ORDER BY `minOrder` ASC [ RunTime:0.002372s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6624718 LIMIT 4 [ RunTime:0.000797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6624718 ORDER BY `minOrder` ASC [ RunTime:0.005144s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6624718 ORDER BY `unit` DESC [ RunTime:0.002380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6624718 LIMIT 2 [ RunTime:0.001890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6624718 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6624626 LIMIT 4 [ RunTime:0.000971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6624626 ORDER BY `minOrder` ASC [ RunTime:0.000592s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6624626 ORDER BY `unit` DESC [ RunTime:0.000550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6624626 LIMIT 2 [ RunTime:0.015310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6624626 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6624625 LIMIT 4 [ RunTime:0.001804s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6624625 ORDER BY `minOrder` ASC [ RunTime:0.000571s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6624625 ORDER BY `unit` DESC [ RunTime:0.005536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6624625 LIMIT 2 [ RunTime:0.007574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6624625 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
select * from pdf where partno='P1200Q12ALRP' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.002696s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6624591 LIMIT 4 [ RunTime:0.001870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6624591 ORDER BY `minOrder` ASC [ RunTime:0.001246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6624591 ORDER BY `unit` DESC [ RunTime:0.000403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6624591 LIMIT 2 [ RunTime:0.005861s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6624591 ORDER BY `minOrder` ASC [ RunTime:0.001835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6624587 LIMIT 4 [ RunTime:0.001095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6624587 ORDER BY `minOrder` ASC [ RunTime:0.002298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6624587 ORDER BY `unit` DESC [ RunTime:0.001501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6624587 LIMIT 2 [ RunTime:0.000768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6624587 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4763223 LIMIT 4 [ RunTime:0.002063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4763223 ORDER BY `minOrder` ASC [ RunTime:0.001788s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4763223 ORDER BY `unit` DESC [ RunTime:0.001691s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4763223 LIMIT 2 [ RunTime:0.004874s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4763223 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4763180 LIMIT 4 [ RunTime:0.000940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4763180 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4763180 ORDER BY `unit` DESC [ RunTime:0.001418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4763180 LIMIT 2 [ RunTime:0.006819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4763180 ORDER BY `minOrder` ASC [ RunTime:0.002550s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4762750 LIMIT 4 [ RunTime:0.001289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4762750 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4762750 ORDER BY `unit` DESC [ RunTime:0.001469s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4762750 LIMIT 2 [ RunTime:0.003190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4762750 ORDER BY `minOrder` ASC [ RunTime:0.003901s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4306101 LIMIT 4 [ RunTime:0.001817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4306101 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4306101 ORDER BY `unit` DESC [ RunTime:0.003433s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4306101 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4306101 ORDER BY `minOrder` ASC [ RunTime:0.000455s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4305910 LIMIT 4 [ RunTime:0.000828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4305910 ORDER BY `minOrder` ASC [ RunTime:0.002028s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4305910 ORDER BY `unit` DESC [ RunTime:0.001215s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4305910 LIMIT 2 [ RunTime:0.001201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4305910 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
select * from pdf where partno='P1200SCMCLRP' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.001139s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4305909 LIMIT 4 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4305909 ORDER BY `minOrder` ASC [ RunTime:0.001900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4305909 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4305909 LIMIT 2 [ RunTime:0.002247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4305909 ORDER BY `minOrder` ASC [ RunTime:0.000630s ]
select * from pdf where partno='P1200Q12BLRP' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.005121s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4305851 LIMIT 4 [ RunTime:0.010719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4305851 ORDER BY `minOrder` ASC [ RunTime:0.001865s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4305851 ORDER BY `unit` DESC [ RunTime:0.003994s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4305851 LIMIT 2 [ RunTime:0.004081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4305851 ORDER BY `minOrder` ASC [ RunTime:0.000645s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'P1200%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004427s ]