SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002048s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000530s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001284s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.188' ) [ RunTime:0.000198s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001064s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000219s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000237s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000182s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002882s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'SS14%' AND `status` <> 2 ) [ RunTime:0.006123s ]
SELECT `s`.`id`,`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 ( `partno` LIKE 'SS14%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008786s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001120s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2233 LIMIT 4 [ RunTime:0.000207s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2233 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000793s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2233 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000810s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2233 LIMIT 2 [ RunTime:0.000169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2233 ORDER BY `minOrder` ASC [ RunTime:0.000804s ]
select * from pdf where partno='SS14' and brandshort='ONSEMI' limit 1 [ RunTime:0.000350s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001139s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14487 LIMIT 4 [ RunTime:0.002102s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14487 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14487 ORDER BY `unit` DESC [ RunTime:0.000182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14487 LIMIT 2 [ RunTime:0.000179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14487 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
select * from pdf where partno='SS14-E3/61T' and brandshort='VISHAY' limit 1 [ RunTime:0.000318s ]
select foldpath,foldpath2,filename from pdf_file where id=786027 limit 1 [ RunTime:0.000208s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14-E3/61T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2090523 LIMIT 4 [ RunTime:0.002774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090523 ORDER BY `minOrder` ASC [ RunTime:0.003538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2090523 ORDER BY `unit` DESC [ RunTime:0.001991s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2090523 LIMIT 2 [ RunTime:0.008180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090523 ORDER BY `minOrder` ASC [ RunTime:0.002125s ]
select * from pdf where partno='SS14M2N' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.002799s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3290014 LIMIT 4 [ RunTime:0.002098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290014 ORDER BY `minOrder` ASC [ RunTime:0.001669s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3290014 ORDER BY `unit` DESC [ RunTime:0.000277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3290014 LIMIT 2 [ RunTime:0.001769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290014 ORDER BY `minOrder` ASC [ RunTime:0.001141s ]
select * from pdf where partno='SS14M2F' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.002601s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3289677 LIMIT 4 [ RunTime:0.003045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289677 ORDER BY `minOrder` ASC [ RunTime:0.003146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3289677 ORDER BY `unit` DESC [ RunTime:0.003091s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3289677 LIMIT 2 [ RunTime:0.005380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289677 ORDER BY `minOrder` ASC [ RunTime:0.000648s ]
select * from pdf where partno='SS14M2G10' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.002057s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8645 LIMIT 4 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8645 ORDER BY `minOrder` ASC [ RunTime:0.000876s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8645 ORDER BY `unit` DESC [ RunTime:0.003012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8645 LIMIT 2 [ RunTime:0.000809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8645 ORDER BY `minOrder` ASC [ RunTime:0.002152s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3616467 LIMIT 4 [ RunTime:0.000939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3616467 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3616467 ORDER BY `unit` DESC [ RunTime:0.000245s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3616467 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3616467 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28112 LIMIT 4 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28112 ORDER BY `minOrder` ASC [ RunTime:0.001623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28112 ORDER BY `unit` DESC [ RunTime:0.001745s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28112 LIMIT 2 [ RunTime:0.001278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28112 ORDER BY `minOrder` ASC [ RunTime:0.001077s ]
select * from pdf where partno='SS14-E3/61T' and brandshort='VISHAY' limit 1 [ RunTime:0.000269s ]
select foldpath,foldpath2,filename from pdf_file where id=786027 limit 1 [ RunTime:0.000173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14-E3/61T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27087 LIMIT 4 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27087 ORDER BY `minOrder` ASC [ RunTime:0.001362s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27087 ORDER BY `unit` DESC [ RunTime:0.000988s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27087 LIMIT 2 [ RunTime:0.001132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27087 ORDER BY `minOrder` ASC [ RunTime:0.002068s ]
select * from pdf where partno='SS14' and brandshort='ON' limit 1 [ RunTime:0.002785s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14' OR `brand` LIKE 'ON%' ) ) LIMIT 1 [ RunTime:0.009514s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 25360 LIMIT 4 [ RunTime:0.001408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25360 ORDER BY `minOrder` ASC [ RunTime:0.002222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 25360 ORDER BY `unit` DESC [ RunTime:0.001955s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 25360 LIMIT 2 [ RunTime:0.002169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25360 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
select * from pdf where partno='SS14F' and brandshort='MDD' limit 1 [ RunTime:0.002125s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14F' OR `brand` LIKE 'MDD%' ) ) LIMIT 1 [ RunTime:0.003232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 24770 LIMIT 4 [ RunTime:0.002480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 24770 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 24770 ORDER BY `unit` DESC [ RunTime:0.000908s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 24770 LIMIT 2 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 24770 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='SS14' and brandshort='NA' limit 1 [ RunTime:0.002106s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14' OR `brand` LIKE 'NA%' ) ) LIMIT 1 [ RunTime:0.001923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 22040 LIMIT 4 [ RunTime:0.000592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 22040 ORDER BY `minOrder` ASC [ RunTime:0.004319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 22040 ORDER BY `unit` DESC [ RunTime:0.002440s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 22040 LIMIT 2 [ RunTime:0.002516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 22040 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
select * from pdf where partno='SS14-E3/61T' and brandshort='VISHAY' limit 1 [ RunTime:0.000696s ]
select foldpath,foldpath2,filename from pdf_file where id=786027 limit 1 [ RunTime:0.000328s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14-E3/61T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000309s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18722 LIMIT 4 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18722 ORDER BY `minOrder` ASC [ RunTime:0.001709s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18722 ORDER BY `unit` DESC [ RunTime:0.004661s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18722 LIMIT 2 [ RunTime:0.004060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18722 ORDER BY `minOrder` ASC [ RunTime:0.002122s ]
select * from pdf where partno='SS14-E3/61T' and brandshort='VISHAY' limit 1 [ RunTime:0.000510s ]
select foldpath,foldpath2,filename from pdf_file where id=786027 limit 1 [ RunTime:0.000311s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14-E3/61T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17697 LIMIT 4 [ RunTime:0.001720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17697 ORDER BY `minOrder` ASC [ RunTime:0.002378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17697 ORDER BY `unit` DESC [ RunTime:0.003172s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17697 LIMIT 2 [ RunTime:0.001477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17697 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
select * from pdf where partno='SS14' and brandshort='ON' limit 1 [ RunTime:0.000477s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14' OR `brand` LIKE 'ON%' ) ) LIMIT 1 [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3638820 LIMIT 4 [ RunTime:0.001561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3638820 ORDER BY `minOrder` ASC [ RunTime:0.002623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3638820 ORDER BY `unit` DESC [ RunTime:0.001671s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3638820 LIMIT 2 [ RunTime:0.005232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3638820 ORDER BY `minOrder` ASC [ RunTime:0.003478s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9248084 LIMIT 4 [ RunTime:0.001417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248084 ORDER BY `minOrder` ASC [ RunTime:0.004766s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9248084 ORDER BY `unit` DESC [ RunTime:0.004753s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9248084 LIMIT 2 [ RunTime:0.004928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248084 ORDER BY `minOrder` ASC [ RunTime:0.001144s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9494768 LIMIT 4 [ RunTime:0.001283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9494768 ORDER BY `minOrder` ASC [ RunTime:0.002205s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9494768 ORDER BY `unit` DESC [ RunTime:0.000493s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9494768 LIMIT 2 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9494768 ORDER BY `minOrder` ASC [ RunTime:0.001875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6048457 LIMIT 4 [ RunTime:0.002972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6048457 ORDER BY `minOrder` ASC [ RunTime:0.004144s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6048457 ORDER BY `unit` DESC [ RunTime:0.008937s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6048457 LIMIT 2 [ RunTime:0.005033s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6048457 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5175198 LIMIT 4 [ RunTime:0.001995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175198 ORDER BY `minOrder` ASC [ RunTime:0.004011s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5175198 ORDER BY `unit` DESC [ RunTime:0.002474s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5175198 LIMIT 2 [ RunTime:0.009309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175198 ORDER BY `minOrder` ASC [ RunTime:0.001533s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3638678 LIMIT 4 [ RunTime:0.006707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3638678 ORDER BY `minOrder` ASC [ RunTime:0.000566s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3638678 ORDER BY `unit` DESC [ RunTime:0.004752s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3638678 LIMIT 2 [ RunTime:0.001431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3638678 ORDER BY `minOrder` ASC [ RunTime:0.004740s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'SS14%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004514s ]