SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002801s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SI86S642BB-IU%' OR `brand` LIKE 'SI86S642BB-IU%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028670s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.038816s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18698217 LIMIT 5 [ RunTime:0.029324s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.022901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18698217 ORDER BY `minOrder` ASC [ RunTime:0.047283s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.037343s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18698217 ORDER BY `unit` DESC [ RunTime:0.051309s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18698217 LIMIT 2 [ RunTime:0.032499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18698217 ORDER BY `minOrder` ASC [ RunTime:0.007556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16993484 LIMIT 5 [ RunTime:0.045450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16993484 ORDER BY `minOrder` ASC [ RunTime:0.072383s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16993484 ORDER BY `unit` DESC [ RunTime:0.020257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16993484 LIMIT 2 [ RunTime:0.053507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16993484 ORDER BY `minOrder` ASC [ RunTime:0.047140s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SI86S642BB-IU%' OR `brand` LIKE 'SI86S642BB-IU%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.108993s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SI86S642BB-IU%' OR `brand` LIKE 'SI86S642BB-IU%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.144930s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64255804 LIMIT 5 [ RunTime:0.061732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64255804 ORDER BY `minOrder` ASC [ RunTime:0.058629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64255804 ORDER BY `unit` DESC [ RunTime:0.089074s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64255804 LIMIT 2 [ RunTime:0.120160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64255804 ORDER BY `minOrder` ASC [ RunTime:0.015941s ]
select * from pdf where partno='SI86S642BB-IU' and brandshort='Skyworks Solutions Inc.' limit 1 [ RunTime:0.067186s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001526s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI86S642BB-IU' OR `brand` LIKE 'Skyworks Solutions Inc.%' ) ) LIMIT 1 [ RunTime:0.066866s ]
SELECT `id` FROM `stock` WHERE `id` <> 64255804 AND `partno` = 'SI86S642BB-IU' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%skyworks solutions inc.%' ) [ RunTime:0.094700s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16993484 [ RunTime:0.051354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64255784 LIMIT 5 [ RunTime:0.021856s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64255784 ORDER BY `minOrder` ASC [ RunTime:0.069290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64255784 ORDER BY `unit` DESC [ RunTime:0.045400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64255784 LIMIT 2 [ RunTime:0.035813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64255784 ORDER BY `minOrder` ASC [ RunTime:0.029058s ]
select * from pdf where partno='SI86S642BB-IUR' and brandshort='Skyworks Solutions Inc.' limit 1 [ RunTime:0.029970s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI86S642BB-IUR' OR `brand` LIKE 'Skyworks Solutions Inc.%' ) ) LIMIT 1 [ RunTime:0.008587s ]
SELECT `id` FROM `stock` WHERE `id` <> 64255784 AND `partno` = 'SI86S642BB-IUR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%skyworks solutions inc.%' ) [ RunTime:0.017195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18698217 [ RunTime:0.029326s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SI86S642BB-IU%' OR `brand` LIKE 'SI86S642BB-IU%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008724s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SI86S642BB-IU%' OR `brand` LIKE 'SI86S642BB-IU%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024366s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SI86S642BB-IU%' OR `brand` LIKE 'SI86S642BB-IU%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006349s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SI86S642BB-IU%' OR `brand` LIKE 'SI86S642BB-IU%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001865s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SI86S642BB-IU%' OR `brand` LIKE 'SI86S642BB-IU%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009318s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SI86S642BB-IU%' OR `brand` LIKE 'SI86S642BB-IU%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010006s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SI86S642BB-IU%' OR `brand` LIKE 'SI86S642BB-IU%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016007s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SI86S642BB-IU%' OR `brand` LIKE 'SI86S642BB-IU%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.017638s ]