SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001891s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000537s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001976s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000328s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001917s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000282s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.004429s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000248s ]
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.000432s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002346s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `partno` LIKE 'P6KE200A%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001971s ]
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` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('4768124','4311628','4310643','6644615','6636427','4326112','4310772','6644618','4797592','4310924','8727','4766790','6629836','4312874','4792166','4312182','16428','15408','4768667','6658752') ORDER BY FIELD(s.id, 4768124,4311628,4310643,6644615,6636427,4326112,4310772,6644618,4797592,4310924,8727,4766790,6629836,4312874,4792166,4312182,16428,15408,4768667,6658752) [ RunTime:0.006064s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001124s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4768124 LIMIT 4 [ RunTime:0.015825s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768124 ORDER BY `minOrder` ASC [ RunTime:0.011966s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003082s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4768124 ORDER BY `unit` DESC [ RunTime:0.000441s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003143s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4768124 LIMIT 2 [ RunTime:0.001922s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768124 ORDER BY `minOrder` ASC [ RunTime:0.001450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4311628 LIMIT 4 [ RunTime:0.000674s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4311628 ORDER BY `minOrder` ASC [ RunTime:0.001505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4311628 ORDER BY `unit` DESC [ RunTime:0.002003s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4311628 LIMIT 2 [ RunTime:0.001129s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4311628 ORDER BY `minOrder` ASC [ RunTime:0.000227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4310643 LIMIT 4 [ RunTime:0.001334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4310643 ORDER BY `minOrder` ASC [ RunTime:0.000865s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4310643 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4310643 LIMIT 2 [ RunTime:0.000714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4310643 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6644615 LIMIT 4 [ RunTime:0.000875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6644615 ORDER BY `minOrder` ASC [ RunTime:0.002584s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6644615 ORDER BY `unit` DESC [ RunTime:0.004456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6644615 LIMIT 2 [ RunTime:0.004471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6644615 ORDER BY `minOrder` ASC [ RunTime:0.001376s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6636427 LIMIT 4 [ RunTime:0.007747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6636427 ORDER BY `minOrder` ASC [ RunTime:0.006407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6636427 ORDER BY `unit` DESC [ RunTime:0.003917s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6636427 LIMIT 2 [ RunTime:0.000583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6636427 ORDER BY `minOrder` ASC [ RunTime:0.005358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4326112 LIMIT 4 [ RunTime:0.006901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4326112 ORDER BY `minOrder` ASC [ RunTime:0.002732s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4326112 ORDER BY `unit` DESC [ RunTime:0.001157s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4326112 LIMIT 2 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4326112 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4310772 LIMIT 4 [ RunTime:0.000824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4310772 ORDER BY `minOrder` ASC [ RunTime:0.000573s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4310772 ORDER BY `unit` DESC [ RunTime:0.003352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4310772 LIMIT 2 [ RunTime:0.006807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4310772 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6644618 LIMIT 4 [ RunTime:0.000507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6644618 ORDER BY `minOrder` ASC [ RunTime:0.000823s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6644618 ORDER BY `unit` DESC [ RunTime:0.004757s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6644618 LIMIT 2 [ RunTime:0.004864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6644618 ORDER BY `minOrder` ASC [ RunTime:0.001482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4797592 LIMIT 4 [ RunTime:0.002679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4797592 ORDER BY `minOrder` ASC [ RunTime:0.001914s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4797592 ORDER BY `unit` DESC [ RunTime:0.001797s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4797592 LIMIT 2 [ RunTime:0.000498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4797592 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4310924 LIMIT 4 [ RunTime:0.000682s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4310924 ORDER BY `minOrder` ASC [ RunTime:0.000572s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4310924 ORDER BY `unit` DESC [ RunTime:0.001919s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4310924 LIMIT 2 [ RunTime:0.007524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4310924 ORDER BY `minOrder` ASC [ RunTime:0.002004s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8727 LIMIT 4 [ RunTime:0.001377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8727 ORDER BY `minOrder` ASC [ RunTime:0.000714s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8727 ORDER BY `unit` DESC [ RunTime:0.001517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8727 LIMIT 2 [ RunTime:0.003063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8727 ORDER BY `minOrder` ASC [ RunTime:0.001950s ]
select * from pdf where partno='P6KE200A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.005010s ]
select foldpath,foldpath2,filename from pdf_file where id=445614 limit 1 [ RunTime:0.000523s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002358s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6KE200A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.015391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4766790 LIMIT 4 [ RunTime:0.004075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4766790 ORDER BY `minOrder` ASC [ RunTime:0.002257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4766790 ORDER BY `unit` DESC [ RunTime:0.003251s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4766790 LIMIT 2 [ RunTime:0.002795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4766790 ORDER BY `minOrder` ASC [ RunTime:0.002398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6629836 LIMIT 4 [ RunTime:0.001545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6629836 ORDER BY `minOrder` ASC [ RunTime:0.007417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6629836 ORDER BY `unit` DESC [ RunTime:0.000622s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6629836 LIMIT 2 [ RunTime:0.000588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6629836 ORDER BY `minOrder` ASC [ RunTime:0.007476s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4312874 LIMIT 4 [ RunTime:0.004386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312874 ORDER BY `minOrder` ASC [ RunTime:0.002942s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4312874 ORDER BY `unit` DESC [ RunTime:0.006064s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4312874 LIMIT 2 [ RunTime:0.012265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312874 ORDER BY `minOrder` ASC [ RunTime:0.001092s ]
select * from pdf where partno='P6KE200A' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.001859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4792166 LIMIT 4 [ RunTime:0.004535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4792166 ORDER BY `minOrder` ASC [ RunTime:0.005533s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4792166 ORDER BY `unit` DESC [ RunTime:0.012234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4792166 LIMIT 2 [ RunTime:0.001638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4792166 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4312182 LIMIT 4 [ RunTime:0.000717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312182 ORDER BY `minOrder` ASC [ RunTime:0.000455s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4312182 ORDER BY `unit` DESC [ RunTime:0.000413s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4312182 LIMIT 2 [ RunTime:0.003436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312182 ORDER BY `minOrder` ASC [ RunTime:0.004184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16428 LIMIT 4 [ RunTime:0.007516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16428 ORDER BY `minOrder` ASC [ RunTime:0.006315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16428 ORDER BY `unit` DESC [ RunTime:0.003562s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16428 LIMIT 2 [ RunTime:0.000362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16428 ORDER BY `minOrder` ASC [ RunTime:0.001736s ]
select * from pdf where partno='P6KE200A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000302s ]
select foldpath,foldpath2,filename from pdf_file where id=445614 limit 1 [ RunTime:0.000189s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6KE200A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15408 LIMIT 4 [ RunTime:0.009699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15408 ORDER BY `minOrder` ASC [ RunTime:0.007465s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15408 ORDER BY `unit` DESC [ RunTime:0.000344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15408 LIMIT 2 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15408 ORDER BY `minOrder` ASC [ RunTime:0.003573s ]
select * from pdf where partno='P6KE200A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.004582s ]
select foldpath,foldpath2,filename from pdf_file where id=445614 limit 1 [ RunTime:0.000194s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6KE200A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4768667 LIMIT 4 [ RunTime:0.000662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768667 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4768667 ORDER BY `unit` DESC [ RunTime:0.001937s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4768667 LIMIT 2 [ RunTime:0.004775s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768667 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6658752 LIMIT 4 [ RunTime:0.001199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6658752 ORDER BY `minOrder` ASC [ RunTime:0.000621s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6658752 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6658752 LIMIT 2 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6658752 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'P6KE200A%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001436s ]