SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002139s ]
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 'MPM3810AGQB-AEC1-P%' OR `brand` LIKE 'MPM3810AGQB-AEC1-P%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.076096s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.044934s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13871958 LIMIT 5 [ RunTime:0.037186s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13871958 ORDER BY `minOrder` ASC [ RunTime:0.140060s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.026844s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13871958 ORDER BY `unit` DESC [ RunTime:0.071508s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.040419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13871958 LIMIT 2 [ RunTime:0.068509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13871958 ORDER BY `minOrder` ASC [ RunTime:0.123582s ]
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 'MPM3810AGQB-AEC1-P%' OR `brand` LIKE 'MPM3810AGQB-AEC1-P%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051425s ]
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 'MPM3810AGQB-AEC1-P%' OR `brand` LIKE 'MPM3810AGQB-AEC1-P%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070071s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64321392 LIMIT 5 [ RunTime:0.167620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64321392 ORDER BY `minOrder` ASC [ RunTime:0.112816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64321392 ORDER BY `unit` DESC [ RunTime:0.071214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64321392 LIMIT 2 [ RunTime:0.106227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64321392 ORDER BY `minOrder` ASC [ RunTime:0.018224s ]
select * from pdf where partno='MPM3810AGQB-AEC1-P' and brandshort='Monolithic Power Systems Inc.' limit 1 [ RunTime:0.115870s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002063s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPM3810AGQB-AEC1-P' OR `brand` LIKE 'Monolithic Power Systems Inc.%' ) ) LIMIT 1 [ RunTime:0.051067s ]
SELECT `id` FROM `stock` WHERE `id` <> 64321392 AND `partno` = 'MPM3810AGQB-AEC1-P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%monolithic power systems inc.%' ) [ RunTime:0.091384s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13871958 [ RunTime:0.182159s ]
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 'MPM3810AGQB-AEC1-P%' OR `brand` LIKE 'MPM3810AGQB-AEC1-P%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051214s ]
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 'MPM3810AGQB-AEC1-P%' OR `brand` LIKE 'MPM3810AGQB-AEC1-P%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.103904s ]
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 'MPM3810AGQB-AEC1-P%' OR `brand` LIKE 'MPM3810AGQB-AEC1-P%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.144360s ]
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 'MPM3810AGQB-AEC1-P%' OR `brand` LIKE 'MPM3810AGQB-AEC1-P%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.200458s ]
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 'MPM3810AGQB-AEC1-P%' OR `brand` LIKE 'MPM3810AGQB-AEC1-P%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.098897s ]
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 'MPM3810AGQB-AEC1-P%' OR `brand` LIKE 'MPM3810AGQB-AEC1-P%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.080785s ]
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 'MPM3810AGQB-AEC1-P%' OR `brand` LIKE 'MPM3810AGQB-AEC1-P%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.149570s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MPM3810AGQB-AEC1-P%' OR `brand` LIKE 'MPM3810AGQB-AEC1-P%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.225396s ]