SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.000956s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000412s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002052s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001763s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000275s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000319s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000223s ]
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.000385s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002032s ]
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 'SMBJ5.0A%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002913s ]
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 ('4766487','4767866','4766485','4311638','4315862','6630057','4312427','6632657','4324485','4313402','4772230','6630491','4315555','4768175','4323187','4768413','14820','6630958','4767887','4768129') ORDER BY FIELD(s.id, 4766487,4767866,4766485,4311638,4315862,6630057,4312427,6632657,4324485,4313402,4772230,6630491,4315555,4768175,4323187,4768413,14820,6630958,4767887,4768129) [ RunTime:0.004710s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000984s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4766487 LIMIT 4 [ RunTime:0.000645s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001014s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4766487 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001097s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4766487 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000970s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4766487 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4766487 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4767866 LIMIT 4 [ RunTime:0.000433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767866 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4767866 ORDER BY `unit` DESC [ RunTime:0.000262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4767866 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767866 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4766485 LIMIT 4 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4766485 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4766485 ORDER BY `unit` DESC [ RunTime:0.000230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4766485 LIMIT 2 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4766485 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
select * from pdf where partno='SMBJ5.0A' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.004932s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4311638 LIMIT 4 [ RunTime:0.000920s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4311638 ORDER BY `minOrder` ASC [ RunTime:0.000531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4311638 ORDER BY `unit` DESC [ RunTime:0.000504s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4311638 LIMIT 2 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4311638 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4315862 LIMIT 4 [ RunTime:0.000790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4315862 ORDER BY `minOrder` ASC [ RunTime:0.000459s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4315862 ORDER BY `unit` DESC [ RunTime:0.000421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4315862 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4315862 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6630057 LIMIT 4 [ RunTime:0.001289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630057 ORDER BY `minOrder` ASC [ RunTime:0.000805s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6630057 ORDER BY `unit` DESC [ RunTime:0.000599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6630057 LIMIT 2 [ RunTime:0.000566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630057 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4312427 LIMIT 4 [ RunTime:0.000782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312427 ORDER BY `minOrder` ASC [ RunTime:0.000582s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4312427 ORDER BY `unit` DESC [ RunTime:0.000594s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4312427 LIMIT 2 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312427 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6632657 LIMIT 4 [ RunTime:0.001142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6632657 ORDER BY `minOrder` ASC [ RunTime:0.000566s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6632657 ORDER BY `unit` DESC [ RunTime:0.000550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6632657 LIMIT 2 [ RunTime:0.000534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6632657 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4324485 LIMIT 4 [ RunTime:0.001104s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4324485 ORDER BY `minOrder` ASC [ RunTime:0.000546s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4324485 ORDER BY `unit` DESC [ RunTime:0.000571s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4324485 LIMIT 2 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4324485 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4313402 LIMIT 4 [ RunTime:0.000722s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4313402 ORDER BY `minOrder` ASC [ RunTime:0.000553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4313402 ORDER BY `unit` DESC [ RunTime:0.000550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4313402 LIMIT 2 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4313402 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4772230 LIMIT 4 [ RunTime:0.000872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4772230 ORDER BY `minOrder` ASC [ RunTime:0.000576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4772230 ORDER BY `unit` DESC [ RunTime:0.000545s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4772230 LIMIT 2 [ RunTime:0.000520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4772230 ORDER BY `minOrder` ASC [ RunTime:0.000374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6630491 LIMIT 4 [ RunTime:0.000859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630491 ORDER BY `minOrder` ASC [ RunTime:0.000547s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6630491 ORDER BY `unit` DESC [ RunTime:0.000567s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6630491 LIMIT 2 [ RunTime:0.000534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630491 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4315555 LIMIT 4 [ RunTime:0.000796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4315555 ORDER BY `minOrder` ASC [ RunTime:0.000575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4315555 ORDER BY `unit` DESC [ RunTime:0.000538s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4315555 LIMIT 2 [ RunTime:0.000531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4315555 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4768175 LIMIT 4 [ RunTime:0.000728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768175 ORDER BY `minOrder` ASC [ RunTime:0.000544s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4768175 ORDER BY `unit` DESC [ RunTime:0.000553s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4768175 LIMIT 2 [ RunTime:0.000521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768175 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4323187 LIMIT 4 [ RunTime:0.000768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4323187 ORDER BY `minOrder` ASC [ RunTime:0.000633s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4323187 ORDER BY `unit` DESC [ RunTime:0.000551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4323187 LIMIT 2 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4323187 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4768413 LIMIT 4 [ RunTime:0.000758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768413 ORDER BY `minOrder` ASC [ RunTime:0.000553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4768413 ORDER BY `unit` DESC [ RunTime:0.000550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4768413 LIMIT 2 [ RunTime:0.000556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768413 ORDER BY `minOrder` ASC [ RunTime:0.000374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14820 LIMIT 4 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14820 ORDER BY `minOrder` ASC [ RunTime:0.000763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14820 ORDER BY `unit` DESC [ RunTime:0.000746s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14820 LIMIT 2 [ RunTime:0.000719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14820 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002324s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMBJ5.0A-TR.' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001144s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6630958 LIMIT 4 [ RunTime:0.000783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630958 ORDER BY `minOrder` ASC [ RunTime:0.000585s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6630958 ORDER BY `unit` DESC [ RunTime:0.000569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6630958 LIMIT 2 [ RunTime:0.000546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630958 ORDER BY `minOrder` ASC [ RunTime:0.000374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4767887 LIMIT 4 [ RunTime:0.000784s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767887 ORDER BY `minOrder` ASC [ RunTime:0.000547s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4767887 ORDER BY `unit` DESC [ RunTime:0.000537s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4767887 LIMIT 2 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767887 ORDER BY `minOrder` ASC [ RunTime:0.000517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4768129 LIMIT 4 [ RunTime:0.000770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768129 ORDER BY `minOrder` ASC [ RunTime:0.000570s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4768129 ORDER BY `unit` DESC [ RunTime:0.000540s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4768129 LIMIT 2 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768129 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'SMBJ5.0A%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002107s ]