SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002871s ]
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 'MPM3650CGQW-P%' OR `brand` LIKE 'MPM3650CGQW-P%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017156s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.007646s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13867551 LIMIT 5 [ RunTime:0.037225s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13867551 ORDER BY `minOrder` ASC [ RunTime:0.023127s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003954s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13867551 ORDER BY `unit` DESC [ RunTime:0.015157s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004428s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13867551 LIMIT 2 [ RunTime:0.018500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13867551 ORDER BY `minOrder` ASC [ RunTime:0.011653s ]
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 'MPM3650CGQW-P%' OR `brand` LIKE 'MPM3650CGQW-P%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021861s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32308993 LIMIT 5 [ RunTime:0.014933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32308993 ORDER BY `minOrder` ASC [ RunTime:0.036409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32308993 ORDER BY `unit` DESC [ RunTime:0.023252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32308993 LIMIT 2 [ RunTime:0.031294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32308993 ORDER BY `minOrder` ASC [ RunTime:0.025277s ]
select * from pdf where partno='mpm3650cgqw-p' and brandshort='monolithic power systems mps' limit 1 [ RunTime:0.008501s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002100s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'mpm3650cgqw-p' OR `brand` LIKE 'monolithic power systems (mps)%' ) ) LIMIT 1 [ RunTime:0.045433s ]
SELECT `id` FROM `stock` WHERE `id` <> 32308993 AND `partno` = 'mpm3650cgqw-p' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%monolithic power systems%' ) [ RunTime:0.052456s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13867551 [ RunTime:0.032701s ]
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 'MPM3650CGQW-P%' OR `brand` LIKE 'MPM3650CGQW-P%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.117354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64291609 LIMIT 5 [ RunTime:0.045415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64291609 ORDER BY `minOrder` ASC [ RunTime:0.045326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64291609 ORDER BY `unit` DESC [ RunTime:0.030857s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64291609 LIMIT 2 [ RunTime:0.037238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64291609 ORDER BY `minOrder` ASC [ RunTime:0.018759s ]
select * from pdf where partno='MPM3650CGQW-P' and brandshort='Monolithic Power Systems Inc.' limit 1 [ RunTime:0.047122s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPM3650CGQW-P' OR `brand` LIKE 'Monolithic Power Systems Inc.%' ) ) LIMIT 1 [ RunTime:0.048401s ]
SELECT `id` FROM `stock` WHERE `id` <> 64291609 AND `partno` = 'MPM3650CGQW-P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%monolithic power systems inc.%' ) [ RunTime:0.044995s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13867551 [ RunTime:0.020693s ]
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 'MPM3650CGQW-P%' OR `brand` LIKE 'MPM3650CGQW-P%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039738s ]
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 'MPM3650CGQW-P%' OR `brand` LIKE 'MPM3650CGQW-P%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025181s ]
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 'MPM3650CGQW-P%' OR `brand` LIKE 'MPM3650CGQW-P%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008739s ]
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 'MPM3650CGQW-P%' OR `brand` LIKE 'MPM3650CGQW-P%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018033s ]
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 'MPM3650CGQW-P%' OR `brand` LIKE 'MPM3650CGQW-P%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018213s ]
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 'MPM3650CGQW-P%' OR `brand` LIKE 'MPM3650CGQW-P%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013008s ]
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 'MPM3650CGQW-P%' OR `brand` LIKE 'MPM3650CGQW-P%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019540s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MPM3650CGQW-P%' OR `brand` LIKE 'MPM3650CGQW-P%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.019103s ]