SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001495s ]
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 '74LVCH16646APAG%' OR `brand` LIKE '74LVCH16646APAG%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.185768s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19183334 LIMIT 5 [ RunTime:0.067159s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.041570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19183334 ORDER BY `minOrder` ASC [ RunTime:0.110387s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.078650s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19183334 ORDER BY `unit` DESC [ RunTime:0.063070s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.044629s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19183334 LIMIT 2 [ RunTime:0.088872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19183334 ORDER BY `minOrder` ASC [ RunTime:0.000541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19182103 LIMIT 5 [ RunTime:0.166517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19182103 ORDER BY `minOrder` ASC [ RunTime:0.051893s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19182103 ORDER BY `unit` DESC [ RunTime:0.035981s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19182103 LIMIT 2 [ RunTime:0.123061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19182103 ORDER BY `minOrder` ASC [ RunTime:0.025022s ]
select * from pdf where partno='74LVCH16646APAG' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.097034s ]
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 '74LVCH16646APAG%' OR `brand` LIKE '74LVCH16646APAG%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.119466s ]
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 '74LVCH16646APAG%' OR `brand` LIKE '74LVCH16646APAG%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.111367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63778935 LIMIT 5 [ RunTime:0.031406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63778935 ORDER BY `minOrder` ASC [ RunTime:0.103575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63778935 ORDER BY `unit` DESC [ RunTime:0.088550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63778935 LIMIT 2 [ RunTime:0.098381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63778935 ORDER BY `minOrder` ASC [ RunTime:0.109426s ]
select * from pdf where partno='74LVCH16646APAG' and brandshort='IDT, Integrated Device Technology Inc' limit 1 [ RunTime:0.145477s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001919s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVCH16646APAG' OR `brand` LIKE 'IDT, Integrated Device Technology Inc%' ) ) LIMIT 1 [ RunTime:0.153055s ]
SELECT `id` FROM `stock` WHERE `id` <> 63778935 AND `partno` = '74LVCH16646APAG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%idt, integrated device technology inc%' ) [ RunTime:0.339652s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19183334 [ RunTime:0.053802s ]
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 '74LVCH16646APAG%' OR `brand` LIKE '74LVCH16646APAG%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068773s ]
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 '74LVCH16646APAG%' OR `brand` LIKE '74LVCH16646APAG%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044950s ]
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 '74LVCH16646APAG%' OR `brand` LIKE '74LVCH16646APAG%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.088042s ]
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 '74LVCH16646APAG%' OR `brand` LIKE '74LVCH16646APAG%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.094340s ]
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 '74LVCH16646APAG%' OR `brand` LIKE '74LVCH16646APAG%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.104333s ]
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 '74LVCH16646APAG%' OR `brand` LIKE '74LVCH16646APAG%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063651s ]
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 '74LVCH16646APAG%' OR `brand` LIKE '74LVCH16646APAG%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.142909s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '74LVCH16646APAG%' OR `brand` LIKE '74LVCH16646APAG%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.077803s ]