SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002562s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000596s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002364s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000364s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002564s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000330s ]
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.000271s ]
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.000688s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002588s ]
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 'P6SMB36A%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003899s ]
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 ('6631007','4310966','6641634','4334115','4767372','4783744','4780872','4798271','4768056','4309661','4770861','4770903','4312183','4312375','8692','27715','18325','6659793','6659026','6645939') ORDER BY FIELD(s.id, 6631007,4310966,6641634,4334115,4767372,4783744,4780872,4798271,4768056,4309661,4770861,4770903,4312183,4312375,8692,27715,18325,6659793,6659026,6645939) [ RunTime:0.002609s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001220s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6631007 LIMIT 4 [ RunTime:0.000515s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6631007 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000921s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6631007 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001000s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6631007 LIMIT 2 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6631007 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4310966 LIMIT 4 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4310966 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4310966 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4310966 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4310966 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6641634 LIMIT 4 [ RunTime:0.000433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641634 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6641634 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6641634 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641634 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4334115 LIMIT 4 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4334115 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4334115 ORDER BY `unit` DESC [ RunTime:0.000271s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4334115 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4334115 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4767372 LIMIT 4 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767372 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4767372 ORDER BY `unit` DESC [ RunTime:0.000276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4767372 LIMIT 2 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767372 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4783744 LIMIT 4 [ RunTime:0.000685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4783744 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4783744 ORDER BY `unit` DESC [ RunTime:0.000260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4783744 LIMIT 2 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4783744 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4780872 LIMIT 4 [ RunTime:0.000538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4780872 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4780872 ORDER BY `unit` DESC [ RunTime:0.000257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4780872 LIMIT 2 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4780872 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
select * from pdf where partno='P6SMB36A-E3/52' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.003695s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4798271 LIMIT 4 [ RunTime:0.001093s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4798271 ORDER BY `minOrder` ASC [ RunTime:0.000663s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4798271 ORDER BY `unit` DESC [ RunTime:0.000622s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4798271 LIMIT 2 [ RunTime:0.000604s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4798271 ORDER BY `minOrder` ASC [ RunTime:0.000434s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4768056 LIMIT 4 [ RunTime:0.000809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768056 ORDER BY `minOrder` ASC [ RunTime:0.000604s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4768056 ORDER BY `unit` DESC [ RunTime:0.000592s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4768056 LIMIT 2 [ RunTime:0.000597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768056 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4309661 LIMIT 4 [ RunTime:0.000863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4309661 ORDER BY `minOrder` ASC [ RunTime:0.000625s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4309661 ORDER BY `unit` DESC [ RunTime:0.000513s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4309661 LIMIT 2 [ RunTime:0.000506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4309661 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
select * from pdf where partno='P6SMB36A-E3/5B' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.000930s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4770861 LIMIT 4 [ RunTime:0.000534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770861 ORDER BY `minOrder` ASC [ RunTime:0.000489s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4770861 ORDER BY `unit` DESC [ RunTime:0.000466s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4770861 LIMIT 2 [ RunTime:0.000458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770861 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4770903 LIMIT 4 [ RunTime:0.000549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770903 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4770903 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4770903 LIMIT 2 [ RunTime:0.000331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770903 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4312183 LIMIT 4 [ RunTime:0.000511s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312183 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4312183 ORDER BY `unit` DESC [ RunTime:0.000408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4312183 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312183 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
select * from pdf where partno='P6SMB36A' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.003028s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4312375 LIMIT 4 [ RunTime:0.000588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312375 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4312375 ORDER BY `unit` DESC [ RunTime:0.000440s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4312375 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312375 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8692 LIMIT 4 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8692 ORDER BY `minOrder` ASC [ RunTime:0.000540s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8692 ORDER BY `unit` DESC [ RunTime:0.000543s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8692 LIMIT 2 [ RunTime:0.001575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8692 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
select * from pdf where partno='P6SMB36A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001028s ]
select foldpath,foldpath2,filename from pdf_file where id=881656 limit 1 [ RunTime:0.000706s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001225s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6SMB36A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.008196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27715 LIMIT 4 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27715 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27715 ORDER BY `unit` DESC [ RunTime:0.000510s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27715 LIMIT 2 [ RunTime:0.001392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27715 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='P6SMB36A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000409s ]
select foldpath,foldpath2,filename from pdf_file where id=881656 limit 1 [ RunTime:0.000274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6SMB36A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18325 LIMIT 4 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18325 ORDER BY `minOrder` ASC [ RunTime:0.000510s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18325 ORDER BY `unit` DESC [ RunTime:0.000512s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18325 LIMIT 2 [ RunTime:0.002072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18325 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
select * from pdf where partno='P6SMB36A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000279s ]
select foldpath,foldpath2,filename from pdf_file where id=881656 limit 1 [ RunTime:0.000184s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6SMB36A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6659793 LIMIT 4 [ RunTime:0.000615s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659793 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6659793 ORDER BY `unit` DESC [ RunTime:0.000339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6659793 LIMIT 2 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659793 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6659026 LIMIT 4 [ RunTime:0.000468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659026 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6659026 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6659026 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659026 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6645939 LIMIT 4 [ RunTime:0.000828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6645939 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6645939 ORDER BY `unit` DESC [ RunTime:0.000307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6645939 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6645939 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'P6SMB36A%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001001s ]