SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001953s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002434s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002280s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.003870s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001884s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.004008s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000356s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.001239s ]
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.000766s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002601s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE '3013%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.003951s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE '3013%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003628s ]
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 = 1) ) AND `s`.`id` IN ('1632625','3755300','1744250','3094','16284','15264','4603243','4698175','4702605','4698176','2314005','2294472','2319939','3522868','3876713','1827178','3876714','3671514','2397620','9563764') ORDER BY FIELD(s.id, 1632625,3755300,1744250,3094,16284,15264,4603243,4698175,4702605,4698176,2314005,2294472,2319939,3522868,3876713,1827178,3876714,3671514,2397620,9563764) [ RunTime:0.006330s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1632625 LIMIT 4 [ RunTime:0.000855s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632625 ORDER BY `minOrder` ASC [ RunTime:0.000607s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001009s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1632625 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000834s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1632625 LIMIT 2 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632625 ORDER BY `minOrder` ASC [ RunTime:0.002006s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3755300 LIMIT 4 [ RunTime:0.001168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3755300 ORDER BY `minOrder` ASC [ RunTime:0.004476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3755300 ORDER BY `unit` DESC [ RunTime:0.004053s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3755300 LIMIT 2 [ RunTime:0.006209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3755300 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1744250 LIMIT 4 [ RunTime:0.000805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744250 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1744250 ORDER BY `unit` DESC [ RunTime:0.000323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1744250 LIMIT 2 [ RunTime:0.001890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744250 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
select * from pdf where partno='3013' and brandshort='Adafruit Industries LLC' limit 1 [ RunTime:0.004921s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3094 LIMIT 4 [ RunTime:0.000643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.001968s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3094 ORDER BY `unit` DESC [ RunTime:0.000405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3094 LIMIT 2 [ RunTime:0.001972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.000830s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000572s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001630s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.003466s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16284 LIMIT 4 [ RunTime:0.008678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.003905s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16284 ORDER BY `unit` DESC [ RunTime:0.005310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16284 LIMIT 2 [ RunTime:0.003378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.004909s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000381s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264 LIMIT 4 [ RunTime:0.002693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.004825s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15264 ORDER BY `unit` DESC [ RunTime:0.008150s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15264 LIMIT 2 [ RunTime:0.013877s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000640s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.003612s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4603243 LIMIT 4 [ RunTime:0.006494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4603243 ORDER BY `minOrder` ASC [ RunTime:0.000541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4603243 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4603243 LIMIT 2 [ RunTime:0.002426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4603243 ORDER BY `minOrder` ASC [ RunTime:0.001082s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4698175 LIMIT 4 [ RunTime:0.000746s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698175 ORDER BY `minOrder` ASC [ RunTime:0.003350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4698175 ORDER BY `unit` DESC [ RunTime:0.009626s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4698175 LIMIT 2 [ RunTime:0.002037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698175 ORDER BY `minOrder` ASC [ RunTime:0.005187s ]
select * from pdf where partno='30137-30' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.004284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4702605 LIMIT 4 [ RunTime:0.002919s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4702605 ORDER BY `minOrder` ASC [ RunTime:0.004513s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4702605 ORDER BY `unit` DESC [ RunTime:0.002111s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4702605 LIMIT 2 [ RunTime:0.005949s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4702605 ORDER BY `minOrder` ASC [ RunTime:0.005213s ]
select * from pdf where partno='30138-30' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.001281s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4698176 LIMIT 4 [ RunTime:0.013306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698176 ORDER BY `minOrder` ASC [ RunTime:0.008494s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4698176 ORDER BY `unit` DESC [ RunTime:0.009168s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4698176 LIMIT 2 [ RunTime:0.003835s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698176 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
select * from pdf where partno='30137-15' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.009579s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2314005 LIMIT 4 [ RunTime:0.007646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2314005 ORDER BY `minOrder` ASC [ RunTime:0.006518s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2314005 ORDER BY `unit` DESC [ RunTime:0.003775s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2314005 LIMIT 2 [ RunTime:0.001329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2314005 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2294472 LIMIT 4 [ RunTime:0.002290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2294472 ORDER BY `minOrder` ASC [ RunTime:0.002053s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2294472 ORDER BY `unit` DESC [ RunTime:0.006939s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2294472 LIMIT 2 [ RunTime:0.003106s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2294472 ORDER BY `minOrder` ASC [ RunTime:0.005401s ]
select * from pdf where partno='3013W3SCM99A10X' and brandshort='Amphenol CONEC' limit 1 [ RunTime:0.004189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2319939 LIMIT 4 [ RunTime:0.007062s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2319939 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2319939 ORDER BY `unit` DESC [ RunTime:0.001105s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2319939 LIMIT 2 [ RunTime:0.004849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2319939 ORDER BY `minOrder` ASC [ RunTime:0.001258s ]
select * from pdf where partno='3013W6SXK99A10X' and brandshort='Amphenol CONEC' limit 1 [ RunTime:0.002892s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3522868 LIMIT 4 [ RunTime:0.008717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3522868 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3522868 ORDER BY `unit` DESC [ RunTime:0.000562s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3522868 LIMIT 2 [ RunTime:0.000546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3522868 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3876713 LIMIT 4 [ RunTime:0.002741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876713 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3876713 ORDER BY `unit` DESC [ RunTime:0.000282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3876713 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876713 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
select * from pdf where partno='3013162002' and brandshort='Portescap' limit 1 [ RunTime:0.000427s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1827178 LIMIT 4 [ RunTime:0.005359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1827178 ORDER BY `minOrder` ASC [ RunTime:0.004828s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1827178 ORDER BY `unit` DESC [ RunTime:0.001427s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1827178 LIMIT 2 [ RunTime:0.004163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1827178 ORDER BY `minOrder` ASC [ RunTime:0.003281s ]
select * from pdf where partno='3013094' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.000886s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3876714 LIMIT 4 [ RunTime:0.008211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876714 ORDER BY `minOrder` ASC [ RunTime:0.008789s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3876714 ORDER BY `unit` DESC [ RunTime:0.000623s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3876714 LIMIT 2 [ RunTime:0.000971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876714 ORDER BY `minOrder` ASC [ RunTime:0.003126s ]
select * from pdf where partno='3013162001' and brandshort='Portescap' limit 1 [ RunTime:0.002142s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3671514 LIMIT 4 [ RunTime:0.002579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3671514 ORDER BY `minOrder` ASC [ RunTime:0.000515s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3671514 ORDER BY `unit` DESC [ RunTime:0.000915s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3671514 LIMIT 2 [ RunTime:0.002045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3671514 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2397620 LIMIT 4 [ RunTime:0.001480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2397620 ORDER BY `minOrder` ASC [ RunTime:0.001162s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2397620 ORDER BY `unit` DESC [ RunTime:0.001618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2397620 LIMIT 2 [ RunTime:0.000479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2397620 ORDER BY `minOrder` ASC [ RunTime:0.001603s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9563764 LIMIT 4 [ RunTime:0.007361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9563764 ORDER BY `minOrder` ASC [ RunTime:0.015468s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9563764 ORDER BY `unit` DESC [ RunTime:0.012403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9563764 LIMIT 2 [ RunTime:0.006979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9563764 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
select * from pdf where partno='3013-0-15-15-32-27-04-0' and brandshort='Mill-Max Manufacturing Corp.' limit 1 [ RunTime:0.001087s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '3013%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.006290s ]