SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002608s ]
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 'SMT RESISTOR KITS R04E96-50%' OR `brand` LIKE 'SMT RESISTOR KITS R04E96-50%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019634s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11997900 LIMIT 5 [ RunTime:0.012174s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11997900 ORDER BY `minOrder` ASC [ RunTime:0.019064s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004880s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11997900 ORDER BY `unit` DESC [ RunTime:0.010277s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11997900 LIMIT 2 [ RunTime:0.014117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11997900 ORDER BY `minOrder` ASC [ RunTime:0.016140s ]
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 'SMT RESISTOR KITS R04E96-50%' OR `brand` LIKE 'SMT RESISTOR KITS R04E96-50%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024090s ]
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 'SMT RESISTOR KITS R04E96-50%' OR `brand` LIKE 'SMT RESISTOR KITS R04E96-50%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63530219 LIMIT 5 [ RunTime:0.034519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63530219 ORDER BY `minOrder` ASC [ RunTime:0.047075s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63530219 ORDER BY `unit` DESC [ RunTime:0.020329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63530219 LIMIT 2 [ RunTime:0.008526s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63530219 ORDER BY `minOrder` ASC [ RunTime:0.000830s ]
select * from pdf where partno='SMT RESISTOR KITS R04E96-500' and brandshort='Analog Technologies, Inc.' limit 1 [ RunTime:0.015154s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001352s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMT RESISTOR KITS R04E96-500' OR `brand` LIKE 'Analog Technologies, Inc.%' ) ) LIMIT 1 [ RunTime:0.031483s ]
SELECT `id` FROM `stock` WHERE `id` <> 63530219 AND `partno` = 'SMT RESISTOR KITS R04E96-500' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog technologies, inc.%' ) [ RunTime:0.019690s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11997900 [ RunTime:0.018957s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63530181 LIMIT 5 [ RunTime:0.029820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63530181 ORDER BY `minOrder` ASC [ RunTime:0.023367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63530181 ORDER BY `unit` DESC [ RunTime:0.078131s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63530181 LIMIT 2 [ RunTime:0.051880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63530181 ORDER BY `minOrder` ASC [ RunTime:0.065744s ]
select * from pdf where partno='SMT RESISTOR KITS R04E96-50' and brandshort='Analog Technologies, Inc.' limit 1 [ RunTime:0.093319s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMT RESISTOR KITS R04E96-50' OR `brand` LIKE 'Analog Technologies, Inc.%' ) ) LIMIT 1 [ RunTime:0.020799s ]
SELECT `id` FROM `stock` WHERE `id` <> 63530181 AND `partno` = 'SMT RESISTOR KITS R04E96-50' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog technologies, inc.%' ) [ RunTime:0.051946s ]
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 'SMT RESISTOR KITS R04E96-50%' OR `brand` LIKE 'SMT RESISTOR KITS R04E96-50%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037759s ]
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 'SMT RESISTOR KITS R04E96-50%' OR `brand` LIKE 'SMT RESISTOR KITS R04E96-50%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.073544s ]
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 'SMT RESISTOR KITS R04E96-50%' OR `brand` LIKE 'SMT RESISTOR KITS R04E96-50%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052388s ]
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 'SMT RESISTOR KITS R04E96-50%' OR `brand` LIKE 'SMT RESISTOR KITS R04E96-50%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.112665s ]
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 'SMT RESISTOR KITS R04E96-50%' OR `brand` LIKE 'SMT RESISTOR KITS R04E96-50%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.100842s ]
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 'SMT RESISTOR KITS R04E96-50%' OR `brand` LIKE 'SMT RESISTOR KITS R04E96-50%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.091988s ]
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 'SMT RESISTOR KITS R04E96-50%' OR `brand` LIKE 'SMT RESISTOR KITS R04E96-50%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048717s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SMT RESISTOR KITS R04E96-50%' OR `brand` LIKE 'SMT RESISTOR KITS R04E96-50%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.210707s ]