SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001247s ]
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 'MIKROE-511%' OR `brand` LIKE 'MIKROE-511%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003087s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13367695 LIMIT 5 [ RunTime:0.001518s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001804s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13367695 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001089s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13367695 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001116s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13367695 LIMIT 2 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13367695 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13256920 LIMIT 5 [ RunTime:0.000706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13256920 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13256920 ORDER BY `unit` DESC [ RunTime:0.000310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13256920 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13256920 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12394916 LIMIT 5 [ RunTime:0.000632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12394916 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12394916 ORDER BY `unit` DESC [ RunTime:0.000295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12394916 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12394916 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12392348 LIMIT 5 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12392348 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12392348 ORDER BY `unit` DESC [ RunTime:0.000298s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12392348 LIMIT 2 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12392348 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12392233 LIMIT 5 [ RunTime:0.000570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12392233 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12392233 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12392233 LIMIT 2 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12392233 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12392144 LIMIT 5 [ RunTime:0.000590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12392144 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12392144 ORDER BY `unit` DESC [ RunTime:0.000293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12392144 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12392144 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
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 'MIKROE-511%' OR `brand` LIKE 'MIKROE-511%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001349s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51098225 LIMIT 5 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51098225 ORDER BY `minOrder` ASC [ RunTime:0.001081s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51098225 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51098225 LIMIT 2 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51098225 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
select * from pdf where partno='mikroe-511' and brandshort='mikroe' limit 1 [ RunTime:0.001676s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001262s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'mikroe-511' OR `brand` LIKE 'mikroe%' ) ) LIMIT 1 [ RunTime:0.001114s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51102476 LIMIT 5 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51102476 ORDER BY `minOrder` ASC [ RunTime:0.002658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51102476 ORDER BY `unit` DESC [ RunTime:0.000411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51102476 LIMIT 2 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51102476 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
select * from pdf where partno='mikroe-5119' and brandshort='mikroe' limit 1 [ RunTime:0.000775s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'mikroe-5119' OR `brand` LIKE 'mikroe%' ) ) LIMIT 1 [ RunTime:0.000539s ]
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 'MIKROE-511%' OR `brand` LIKE 'MIKROE-511%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002148s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63526182 LIMIT 5 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63526182 ORDER BY `minOrder` ASC [ RunTime:0.000760s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63526182 ORDER BY `unit` DESC [ RunTime:0.000379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63526182 LIMIT 2 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63526182 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
select * from pdf where partno='MIKROE-511' and brandshort='MikroElektronika' limit 1 [ RunTime:0.000815s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIKROE-511' OR `brand` LIKE 'MikroElektronika%' ) ) LIMIT 1 [ RunTime:0.000516s ]
SELECT `id` FROM `stock` WHERE `id` <> 63526182 AND `partno` = 'MIKROE-511' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mikroelektronika%' ) [ RunTime:0.000550s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13367695 [ RunTime:0.000442s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64226299 LIMIT 5 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64226299 ORDER BY `minOrder` ASC [ RunTime:0.001153s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64226299 ORDER BY `unit` DESC [ RunTime:0.000378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64226299 LIMIT 2 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64226299 ORDER BY `minOrder` ASC [ RunTime:0.000457s ]
select * from pdf where partno='MIKROE-5114' and brandshort='MikroElektronika' limit 1 [ RunTime:0.001118s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIKROE-5114' OR `brand` LIKE 'MikroElektronika%' ) ) LIMIT 1 [ RunTime:0.000493s ]
SELECT `id` FROM `stock` WHERE `id` <> 64226299 AND `partno` = 'MIKROE-5114' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mikroelektronika%' ) [ RunTime:0.000563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13256920 [ RunTime:0.000450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64050954 LIMIT 5 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64050954 ORDER BY `minOrder` ASC [ RunTime:0.000939s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64050954 ORDER BY `unit` DESC [ RunTime:0.000351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64050954 LIMIT 2 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64050954 ORDER BY `minOrder` ASC [ RunTime:0.000452s ]
select * from pdf where partno='MIKROE-5115' and brandshort='MikroElektronika' limit 1 [ RunTime:0.000911s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIKROE-5115' OR `brand` LIKE 'MikroElektronika%' ) ) LIMIT 1 [ RunTime:0.000497s ]
SELECT `id` FROM `stock` WHERE `id` <> 64050954 AND `partno` = 'MIKROE-5115' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mikroelektronika%' ) [ RunTime:0.000540s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12392144 [ RunTime:0.000462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64053101 LIMIT 5 [ RunTime:0.000575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64053101 ORDER BY `minOrder` ASC [ RunTime:0.000918s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64053101 ORDER BY `unit` DESC [ RunTime:0.000444s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64053101 LIMIT 2 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64053101 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
select * from pdf where partno='MIKROE-5111' and brandshort='MikroElektronika' limit 1 [ RunTime:0.000928s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIKROE-5111' OR `brand` LIKE 'MikroElektronika%' ) ) LIMIT 1 [ RunTime:0.000497s ]
SELECT `id` FROM `stock` WHERE `id` <> 64053101 AND `partno` = 'MIKROE-5111' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mikroelektronika%' ) [ RunTime:0.000570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12392348 [ RunTime:0.000434s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64052344 LIMIT 5 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64052344 ORDER BY `minOrder` ASC [ RunTime:0.001069s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64052344 ORDER BY `unit` DESC [ RunTime:0.000443s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64052344 LIMIT 2 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64052344 ORDER BY `minOrder` ASC [ RunTime:0.000494s ]
select * from pdf where partno='MIKROE-5110' and brandshort='MikroElektronika' limit 1 [ RunTime:0.001069s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIKROE-5110' OR `brand` LIKE 'MikroElektronika%' ) ) LIMIT 1 [ RunTime:0.000585s ]
SELECT `id` FROM `stock` WHERE `id` <> 64052344 AND `partno` = 'MIKROE-5110' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mikroelektronika%' ) [ RunTime:0.000653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12392233 [ RunTime:0.000550s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64051351 LIMIT 5 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64051351 ORDER BY `minOrder` ASC [ RunTime:0.000549s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64051351 ORDER BY `unit` DESC [ RunTime:0.000315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64051351 LIMIT 2 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64051351 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
select * from pdf where partno='MIKROE-5119' and brandshort='MikroElektronika' limit 1 [ RunTime:0.000825s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIKROE-5119' OR `brand` LIKE 'MikroElektronika%' ) ) LIMIT 1 [ RunTime:0.000425s ]
SELECT `id` FROM `stock` WHERE `id` <> 64051351 AND `partno` = 'MIKROE-5119' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mikroelektronika%' ) [ RunTime:0.000460s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12394916 [ RunTime:0.000347s ]
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 'MIKROE-511%' OR `brand` LIKE 'MIKROE-511%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000654s ]
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 'MIKROE-511%' OR `brand` LIKE 'MIKROE-511%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000556s ]
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 'MIKROE-511%' OR `brand` LIKE 'MIKROE-511%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000531s ]
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 'MIKROE-511%' OR `brand` LIKE 'MIKROE-511%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000479s ]
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 'MIKROE-511%' OR `brand` LIKE 'MIKROE-511%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000528s ]
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 'MIKROE-511%' OR `brand` LIKE 'MIKROE-511%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000438s ]
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 'MIKROE-511%' OR `brand` LIKE 'MIKROE-511%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000584s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MIKROE-511%' OR `brand` LIKE 'MIKROE-511%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000524s ]