SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002317s ]
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 '1SMA4752%' OR `brand` LIKE '1SMA4752%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003639s ]
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 '1SMA4752%' OR `brand` LIKE '1SMA4752%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001069s ]
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 '1SMA4752%' OR `brand` LIKE '1SMA4752%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001238s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001534s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65468546 LIMIT 5 [ RunTime:0.000351s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65468546 ORDER BY `minOrder` ASC [ RunTime:0.003239s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65468546 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65468546 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65468546 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
select * from pdf where partno='1SMA4752A' and brandshort='NextGen Components' limit 1 [ RunTime:0.001432s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002656s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SMA4752A' OR `brand` LIKE 'NextGen Components%' ) ) LIMIT 1 [ RunTime:0.001574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65460899 LIMIT 5 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65460899 ORDER BY `minOrder` ASC [ RunTime:0.000959s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65460899 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65460899 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65460899 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
select * from pdf where partno='1SMA4752H' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.000687s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SMA4752H' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.000556s ]
SELECT `id` FROM `stock` WHERE `id` <> 65460899 AND `partno` = '1SMA4752H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.000573s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65482324 LIMIT 5 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65482324 ORDER BY `minOrder` ASC [ RunTime:0.000703s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65482324 ORDER BY `unit` DESC [ RunTime:0.000386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65482324 LIMIT 2 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65482324 ORDER BY `minOrder` ASC [ RunTime:0.000449s ]
select * from pdf where partno='1SMA4752' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.000686s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SMA4752' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.000529s ]
SELECT `id` FROM `stock` WHERE `id` <> 65482324 AND `partno` = '1SMA4752' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%taiwan semiconductor corporation%' ) [ RunTime:0.000558s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65481969 LIMIT 5 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65481969 ORDER BY `minOrder` ASC [ RunTime:0.000440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65481969 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65481969 LIMIT 2 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65481969 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
select * from pdf where partno='1SMA4752-GT3' and brandshort='SMC Diode Solutions' limit 1 [ RunTime:0.000461s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SMA4752-GT3' OR `brand` LIKE 'SMC Diode Solutions%' ) ) LIMIT 1 [ RunTime:0.000516s ]
SELECT `id` FROM `stock` WHERE `id` <> 65481969 AND `partno` = '1SMA4752-GT3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%smc diode solutions%' ) [ RunTime:0.000548s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65479360 LIMIT 5 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65479360 ORDER BY `minOrder` ASC [ RunTime:0.000837s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65479360 ORDER BY `unit` DESC [ RunTime:0.000381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65479360 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65479360 ORDER BY `minOrder` ASC [ RunTime:0.000434s ]
select * from pdf where partno='1SMA4752' and brandshort='SMC Diode Solutions' limit 1 [ RunTime:0.000494s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SMA4752' OR `brand` LIKE 'SMC Diode Solutions%' ) ) LIMIT 1 [ RunTime:0.000543s ]
SELECT `id` FROM `stock` WHERE `id` <> 65479360 AND `partno` = '1SMA4752' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%smc diode solutions%' ) [ RunTime:0.000545s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65476997 LIMIT 5 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65476997 ORDER BY `minOrder` ASC [ RunTime:0.000781s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65476997 ORDER BY `unit` DESC [ RunTime:0.000400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65476997 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65476997 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
select * from pdf where partno='1SMA4752_R1_00001' and brandshort='Panjit International Inc.' limit 1 [ RunTime:0.000605s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SMA4752_R1_00001' OR `brand` LIKE 'Panjit International Inc.%' ) ) LIMIT 1 [ RunTime:0.000552s ]
SELECT `id` FROM `stock` WHERE `id` <> 65476997 AND `partno` = '1SMA4752_R1_00001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panjit international inc.%' ) [ RunTime:0.000553s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51802138 LIMIT 5 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51802138 ORDER BY `minOrder` ASC [ RunTime:0.000578s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51802138 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51802138 LIMIT 2 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51802138 ORDER BY `minOrder` ASC [ RunTime:0.000478s ]
select * from pdf where partno='1SMA4752-AU_R2_000A1' and brandshort='Panjit International Inc.' limit 1 [ RunTime:0.000436s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SMA4752-AU_R2_000A1' OR `brand` LIKE 'Panjit International Inc.%' ) ) LIMIT 1 [ RunTime:0.000527s ]
SELECT `id` FROM `stock` WHERE `id` <> 51802138 AND `partno` = '1SMA4752-AU_R2_000A1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panjit international inc.%' ) [ RunTime:0.000552s ]
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 '1SMA4752%' OR `brand` LIKE '1SMA4752%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000915s ]
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 '1SMA4752%' OR `brand` LIKE '1SMA4752%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000855s ]
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 '1SMA4752%' OR `brand` LIKE '1SMA4752%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000787s ]
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 '1SMA4752%' OR `brand` LIKE '1SMA4752%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000770s ]
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 '1SMA4752%' OR `brand` LIKE '1SMA4752%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000817s ]
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 '1SMA4752%' OR `brand` LIKE '1SMA4752%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000807s ]
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 '1SMA4752%' OR `brand` LIKE '1SMA4752%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000854s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1SMA4752%' OR `brand` LIKE '1SMA4752%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000737s ]