SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002615s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000726s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001894s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000356s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001533s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000316s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000377s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000213s ]
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.000417s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003122s ]
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 '3003%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 20,20 [ RunTime:0.002688s ]
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 ('3969793','1852151','2966901','2966854','9555388','8698628','3672530','3672531','2397564','3671499','2399213','9632363','9632362','9632361','9632360','9632359','9553666','9528745','9528317','9528230') ORDER BY FIELD(s.id, 3969793,1852151,2966901,2966854,9555388,8698628,3672530,3672531,2397564,3671499,2399213,9632363,9632362,9632361,9632360,9632359,9553666,9528745,9528317,9528230) [ RunTime:0.007209s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3969793 LIMIT 4 [ RunTime:0.000577s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3969793 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000770s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3969793 ORDER BY `unit` DESC [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3969793 LIMIT 2 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3969793 ORDER BY `minOrder` ASC [ RunTime:0.001346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1852151 LIMIT 4 [ RunTime:0.000442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1852151 ORDER BY `minOrder` ASC [ RunTime:0.000969s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1852151 ORDER BY `unit` DESC [ RunTime:0.000577s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1852151 LIMIT 2 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1852151 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
select * from pdf where partno='3003091' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.001505s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2966901 LIMIT 4 [ RunTime:0.000479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2966901 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2966901 ORDER BY `unit` DESC [ RunTime:0.001243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2966901 LIMIT 2 [ RunTime:0.002333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2966901 ORDER BY `minOrder` ASC [ RunTime:0.002977s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2966854 LIMIT 4 [ RunTime:0.000444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2966854 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2966854 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2966854 LIMIT 2 [ RunTime:0.003946s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2966854 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9555388 LIMIT 4 [ RunTime:0.000528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9555388 ORDER BY `minOrder` ASC [ RunTime:0.000227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9555388 ORDER BY `unit` DESC [ RunTime:0.001282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9555388 LIMIT 2 [ RunTime:0.001725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9555388 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8698628 LIMIT 4 [ RunTime:0.000500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8698628 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8698628 ORDER BY `unit` DESC [ RunTime:0.001148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8698628 LIMIT 2 [ RunTime:0.002791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8698628 ORDER BY `minOrder` ASC [ RunTime:0.000980s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3672530 LIMIT 4 [ RunTime:0.000423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3672530 ORDER BY `minOrder` ASC [ RunTime:0.004121s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3672530 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3672530 LIMIT 2 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3672530 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
select * from pdf where partno='3003320A' and brandshort='Würth Elektronik' limit 1 [ RunTime:0.000386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3672531 LIMIT 4 [ RunTime:0.002318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3672531 ORDER BY `minOrder` ASC [ RunTime:0.001544s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3672531 ORDER BY `unit` DESC [ RunTime:0.003418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3672531 LIMIT 2 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3672531 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
select * from pdf where partno='3003325A' and brandshort='Würth Elektronik' limit 1 [ RunTime:0.001877s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2397564 LIMIT 4 [ RunTime:0.002042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2397564 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2397564 ORDER BY `unit` DESC [ RunTime:0.000460s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2397564 LIMIT 2 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2397564 ORDER BY `minOrder` ASC [ RunTime:0.001662s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3671499 LIMIT 4 [ RunTime:0.000621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3671499 ORDER BY `minOrder` ASC [ RunTime:0.005306s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3671499 ORDER BY `unit` DESC [ RunTime:0.002446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3671499 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3671499 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2399213 LIMIT 4 [ RunTime:0.000725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2399213 ORDER BY `minOrder` ASC [ RunTime:0.002043s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2399213 ORDER BY `unit` DESC [ RunTime:0.009053s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2399213 LIMIT 2 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2399213 ORDER BY `minOrder` ASC [ RunTime:0.002451s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9632363 LIMIT 4 [ RunTime:0.000829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9632363 ORDER BY `minOrder` ASC [ RunTime:0.004264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9632363 ORDER BY `unit` DESC [ RunTime:0.000548s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9632363 LIMIT 2 [ RunTime:0.000472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9632363 ORDER BY `minOrder` ASC [ RunTime:0.001951s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9632362 LIMIT 4 [ RunTime:0.002799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9632362 ORDER BY `minOrder` ASC [ RunTime:0.005923s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9632362 ORDER BY `unit` DESC [ RunTime:0.001333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9632362 LIMIT 2 [ RunTime:0.008441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9632362 ORDER BY `minOrder` ASC [ RunTime:0.003940s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9632361 LIMIT 4 [ RunTime:0.000659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9632361 ORDER BY `minOrder` ASC [ RunTime:0.002192s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9632361 ORDER BY `unit` DESC [ RunTime:0.000600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9632361 LIMIT 2 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9632361 ORDER BY `minOrder` ASC [ RunTime:0.002268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9632360 LIMIT 4 [ RunTime:0.001855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9632360 ORDER BY `minOrder` ASC [ RunTime:0.011990s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9632360 ORDER BY `unit` DESC [ RunTime:0.004506s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9632360 LIMIT 2 [ RunTime:0.000624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9632360 ORDER BY `minOrder` ASC [ RunTime:0.002064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9632359 LIMIT 4 [ RunTime:0.002633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9632359 ORDER BY `minOrder` ASC [ RunTime:0.001069s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9632359 ORDER BY `unit` DESC [ RunTime:0.000522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9632359 LIMIT 2 [ RunTime:0.008243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9632359 ORDER BY `minOrder` ASC [ RunTime:0.004172s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9553666 LIMIT 4 [ RunTime:0.001099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9553666 ORDER BY `minOrder` ASC [ RunTime:0.002388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9553666 ORDER BY `unit` DESC [ RunTime:0.006463s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9553666 LIMIT 2 [ RunTime:0.006858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9553666 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9528745 LIMIT 4 [ RunTime:0.000854s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9528745 ORDER BY `minOrder` ASC [ RunTime:0.000505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9528745 ORDER BY `unit` DESC [ RunTime:0.004910s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9528745 LIMIT 2 [ RunTime:0.001571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9528745 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9528317 LIMIT 4 [ RunTime:0.001890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9528317 ORDER BY `minOrder` ASC [ RunTime:0.004382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9528317 ORDER BY `unit` DESC [ RunTime:0.001341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9528317 LIMIT 2 [ RunTime:0.003494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9528317 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
select * from pdf where partno='3003P1R7BLKM54REBLK' and brandshort='E-Switch' limit 1 [ RunTime:0.000607s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9528230 LIMIT 4 [ RunTime:0.002645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9528230 ORDER BY `minOrder` ASC [ RunTime:0.011763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9528230 ORDER BY `unit` DESC [ RunTime:0.003920s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9528230 LIMIT 2 [ RunTime:0.000505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9528230 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '3003%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000432s ]