SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002449s ]
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 'MCS1823GQTE-350BRN-Z%' OR `brand` LIKE 'MCS1823GQTE-350BRN-Z%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.083861s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004787s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19260660 LIMIT 5 [ RunTime:0.109011s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.015141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19260660 ORDER BY `minOrder` ASC [ RunTime:0.092234s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.060296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19260660 ORDER BY `unit` DESC [ RunTime:0.064551s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010000s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19260660 LIMIT 2 [ RunTime:0.050034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19260660 ORDER BY `minOrder` ASC [ RunTime:0.015849s ]
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 'MCS1823GQTE-350BRN-Z%' OR `brand` LIKE 'MCS1823GQTE-350BRN-Z%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.056912s ]
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 'MCS1823GQTE-350BRN-Z%' OR `brand` LIKE 'MCS1823GQTE-350BRN-Z%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.084680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63283497 LIMIT 5 [ RunTime:0.068496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63283497 ORDER BY `minOrder` ASC [ RunTime:0.060208s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63283497 ORDER BY `unit` DESC [ RunTime:0.040575s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63283497 LIMIT 2 [ RunTime:0.108958s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63283497 ORDER BY `minOrder` ASC [ RunTime:0.029471s ]
select * from pdf where partno='MCS1823GQTE-350BRN-Z' and brandshort='Monolithic Power Systems Inc.' limit 1 [ RunTime:0.107110s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002754s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCS1823GQTE-350BRN-Z' OR `brand` LIKE 'Monolithic Power Systems Inc.%' ) ) LIMIT 1 [ RunTime:0.125511s ]
SELECT `id` FROM `stock` WHERE `id` <> 63283497 AND `partno` = 'MCS1823GQTE-350BRN-Z' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%monolithic power systems inc.%' ) [ RunTime:0.126450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19260660 [ RunTime:0.056749s ]
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 'MCS1823GQTE-350BRN-Z%' OR `brand` LIKE 'MCS1823GQTE-350BRN-Z%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.105363s ]
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 'MCS1823GQTE-350BRN-Z%' OR `brand` LIKE 'MCS1823GQTE-350BRN-Z%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.096419s ]
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 'MCS1823GQTE-350BRN-Z%' OR `brand` LIKE 'MCS1823GQTE-350BRN-Z%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.077178s ]
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 'MCS1823GQTE-350BRN-Z%' OR `brand` LIKE 'MCS1823GQTE-350BRN-Z%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.074314s ]
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 'MCS1823GQTE-350BRN-Z%' OR `brand` LIKE 'MCS1823GQTE-350BRN-Z%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050193s ]
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 'MCS1823GQTE-350BRN-Z%' OR `brand` LIKE 'MCS1823GQTE-350BRN-Z%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046428s ]
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 'MCS1823GQTE-350BRN-Z%' OR `brand` LIKE 'MCS1823GQTE-350BRN-Z%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016409s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MCS1823GQTE-350BRN-Z%' OR `brand` LIKE 'MCS1823GQTE-350BRN-Z%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.016946s ]