SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001794s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001223s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002589s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.25' ) [ RunTime:0.000432s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002520s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000725s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000674s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000270s ]
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.000455s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002678s ]
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.000453s ]
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.009366s ]
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.002899s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1632625 LIMIT 4 [ RunTime:0.002872s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632625 ORDER BY `minOrder` ASC [ RunTime:0.001861s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000825s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1632625 ORDER BY `unit` DESC [ RunTime:0.001197s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000967s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1632625 LIMIT 2 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632625 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3755300 LIMIT 4 [ RunTime:0.000512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3755300 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3755300 ORDER BY `unit` DESC [ RunTime:0.000229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3755300 LIMIT 2 [ RunTime:0.003160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3755300 ORDER BY `minOrder` ASC [ RunTime:0.000165s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1744250 LIMIT 4 [ RunTime:0.001529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744250 ORDER BY `minOrder` ASC [ RunTime:0.000709s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1744250 ORDER BY `unit` DESC [ RunTime:0.000491s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1744250 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1744250 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
select * from pdf where partno='3013' and brandshort='Adafruit Industries LLC' limit 1 [ RunTime:0.001317s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3094 LIMIT 4 [ RunTime:0.003196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.003475s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3094 ORDER BY `unit` DESC [ RunTime:0.000351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3094 LIMIT 2 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000528s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.002938s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16284 LIMIT 4 [ RunTime:0.002883s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.002327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16284 ORDER BY `unit` DESC [ RunTime:0.000308s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16284 LIMIT 2 [ RunTime:0.009476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264 LIMIT 4 [ RunTime:0.002812s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.006717s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15264 ORDER BY `unit` DESC [ RunTime:0.000522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15264 LIMIT 2 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.003987s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000263s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000198s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4603243 LIMIT 4 [ RunTime:0.000492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4603243 ORDER BY `minOrder` ASC [ RunTime:0.004107s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4603243 ORDER BY `unit` DESC [ RunTime:0.005591s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4603243 LIMIT 2 [ RunTime:0.004057s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4603243 ORDER BY `minOrder` ASC [ RunTime:0.000209s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4698175 LIMIT 4 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698175 ORDER BY `minOrder` ASC [ RunTime:0.001243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4698175 ORDER BY `unit` DESC [ RunTime:0.000264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4698175 LIMIT 2 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698175 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
select * from pdf where partno='30137-30' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.000913s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4702605 LIMIT 4 [ RunTime:0.002140s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4702605 ORDER BY `minOrder` ASC [ RunTime:0.003083s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4702605 ORDER BY `unit` DESC [ RunTime:0.004374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4702605 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4702605 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
select * from pdf where partno='30138-30' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.000466s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4698176 LIMIT 4 [ RunTime:0.001087s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698176 ORDER BY `minOrder` ASC [ RunTime:0.004805s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4698176 ORDER BY `unit` DESC [ RunTime:0.013118s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4698176 LIMIT 2 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4698176 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
select * from pdf where partno='30137-15' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.000427s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2314005 LIMIT 4 [ RunTime:0.004279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2314005 ORDER BY `minOrder` ASC [ RunTime:0.000895s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2314005 ORDER BY `unit` DESC [ RunTime:0.000247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2314005 LIMIT 2 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2314005 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2294472 LIMIT 4 [ RunTime:0.000480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2294472 ORDER BY `minOrder` ASC [ RunTime:0.004290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2294472 ORDER BY `unit` DESC [ RunTime:0.000241s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2294472 LIMIT 2 [ RunTime:0.000723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2294472 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
select * from pdf where partno='3013W3SCM99A10X' and brandshort='Amphenol CONEC' limit 1 [ RunTime:0.002254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2319939 LIMIT 4 [ RunTime:0.001252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2319939 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2319939 ORDER BY `unit` DESC [ RunTime:0.000233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2319939 LIMIT 2 [ RunTime:0.001373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2319939 ORDER BY `minOrder` ASC [ RunTime:0.002030s ]
select * from pdf where partno='3013W6SXK99A10X' and brandshort='Amphenol CONEC' limit 1 [ RunTime:0.005511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3522868 LIMIT 4 [ RunTime:0.000899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3522868 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3522868 ORDER BY `unit` DESC [ RunTime:0.000313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3522868 LIMIT 2 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3522868 ORDER BY `minOrder` ASC [ RunTime:0.002243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3876713 LIMIT 4 [ RunTime:0.002207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876713 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3876713 ORDER BY `unit` DESC [ RunTime:0.005875s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3876713 LIMIT 2 [ RunTime:0.001314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876713 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
select * from pdf where partno='3013162002' and brandshort='Portescap' limit 1 [ RunTime:0.001145s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1827178 LIMIT 4 [ RunTime:0.008621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1827178 ORDER BY `minOrder` ASC [ RunTime:0.010988s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1827178 ORDER BY `unit` DESC [ RunTime:0.000518s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1827178 LIMIT 2 [ RunTime:0.002487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1827178 ORDER BY `minOrder` ASC [ RunTime:0.002475s ]
select * from pdf where partno='3013094' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.001266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3876714 LIMIT 4 [ RunTime:0.003068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876714 ORDER BY `minOrder` ASC [ RunTime:0.005470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3876714 ORDER BY `unit` DESC [ RunTime:0.002510s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3876714 LIMIT 2 [ RunTime:0.002407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3876714 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
select * from pdf where partno='3013162001' and brandshort='Portescap' limit 1 [ RunTime:0.001158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3671514 LIMIT 4 [ RunTime:0.002622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3671514 ORDER BY `minOrder` ASC [ RunTime:0.001707s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3671514 ORDER BY `unit` DESC [ RunTime:0.001857s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3671514 LIMIT 2 [ RunTime:0.006145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3671514 ORDER BY `minOrder` ASC [ RunTime:0.002181s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2397620 LIMIT 4 [ RunTime:0.000980s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2397620 ORDER BY `minOrder` ASC [ RunTime:0.000509s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2397620 ORDER BY `unit` DESC [ RunTime:0.000507s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2397620 LIMIT 2 [ RunTime:0.002094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2397620 ORDER BY `minOrder` ASC [ RunTime:0.002919s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9563764 LIMIT 4 [ RunTime:0.002321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9563764 ORDER BY `minOrder` ASC [ RunTime:0.001562s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9563764 ORDER BY `unit` DESC [ RunTime:0.003810s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9563764 LIMIT 2 [ RunTime:0.002537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9563764 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
select * from pdf where partno='3013-0-15-15-32-27-04-0' and brandshort='Mill-Max Manufacturing Corp.' limit 1 [ RunTime:0.001072s ]
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.000505s ]