SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001730s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000636s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001320s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000913s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001249s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 106 LIMIT 1 [ RunTime:0.000428s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 106 [ RunTime:0.001064s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 20 [ RunTime:0.005339s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001249s ]
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 ( `status` <> 2 AND `categoryid` = 106 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013633s ]
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 ('7381','11765','7535','9518','16759','16269','15740','15249','8249','7228','7046','7227','9663','8250','6411','11771','9229') ORDER BY FIELD(s.id, 7381,11765,7535,9518,16759,16269,15740,15249,8249,7228,7046,7227,9663,8250,6411,11771,9229) [ RunTime:0.010012s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002005s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7381 LIMIT 4 [ RunTime:0.000216s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7381 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000945s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7381 ORDER BY `unit` DESC [ RunTime:0.000172s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001007s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7381 LIMIT 2 [ RunTime:0.000158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7381 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001077s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC7SZ175P6X' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.003953s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11765 LIMIT 4 [ RunTime:0.000160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11765 ORDER BY `minOrder` ASC [ RunTime:0.001776s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11765 ORDER BY `unit` DESC [ RunTime:0.002551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11765 LIMIT 2 [ RunTime:0.002097s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11765 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVC1G74DC-Q100H' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000162s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7535 LIMIT 4 [ RunTime:0.000335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7535 ORDER BY `minOrder` ASC [ RunTime:0.000451s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7535 ORDER BY `unit` DESC [ RunTime:0.000349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7535 LIMIT 2 [ RunTime:0.000331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7535 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC174ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9518 LIMIT 4 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9518 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9518 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9518 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9518 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NL27WZ17DFT2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16759 LIMIT 4 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16759 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16759 ORDER BY `unit` DESC [ RunTime:0.000379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16759 LIMIT 2 [ RunTime:0.007395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16759 ORDER BY `minOrder` ASC [ RunTime:0.004109s ]
select * from pdf where partno='MC74HC74ADR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.008012s ]
select foldpath,foldpath2,filename from pdf_file where id=532743 limit 1 [ RunTime:0.000500s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC74ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16269 LIMIT 4 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16269 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16269 ORDER BY `unit` DESC [ RunTime:0.000320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16269 LIMIT 2 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16269 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
select * from pdf where partno='74HC14PW,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000324s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC14PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15740 LIMIT 4 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15740 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15740 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15740 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15740 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
select * from pdf where partno='MC74HC74ADR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000326s ]
select foldpath,foldpath2,filename from pdf_file where id=532743 limit 1 [ RunTime:0.000215s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC74ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15249 LIMIT 4 [ RunTime:0.002851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15249 ORDER BY `minOrder` ASC [ RunTime:0.002739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15249 ORDER BY `unit` DESC [ RunTime:0.001735s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15249 LIMIT 2 [ RunTime:0.000474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15249 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
select * from pdf where partno='74HC14PW,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000394s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC14PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8249 LIMIT 4 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8249 ORDER BY `minOrder` ASC [ RunTime:0.005728s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8249 ORDER BY `unit` DESC [ RunTime:0.000510s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8249 LIMIT 2 [ RunTime:0.000481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8249 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC74ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7228 LIMIT 4 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7228 ORDER BY `minOrder` ASC [ RunTime:0.005520s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7228 ORDER BY `unit` DESC [ RunTime:0.007620s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7228 LIMIT 2 [ RunTime:0.000736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7228 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVC1G74DP,125' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7046 LIMIT 4 [ RunTime:0.000777s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7046 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7046 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7046 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7046 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC14PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7227 LIMIT 4 [ RunTime:0.000440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7227 ORDER BY `minOrder` ASC [ RunTime:0.002786s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7227 ORDER BY `unit` DESC [ RunTime:0.000465s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7227 LIMIT 2 [ RunTime:0.006889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7227 ORDER BY `minOrder` ASC [ RunTime:0.002378s ]
select * from pdf where partno='74HCT574PW,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001811s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HCT574PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004828s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9663 LIMIT 4 [ RunTime:0.004376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9663 ORDER BY `minOrder` ASC [ RunTime:0.004290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9663 ORDER BY `unit` DESC [ RunTime:0.002240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9663 LIMIT 2 [ RunTime:0.006215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9663 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74AC14DR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007771s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8250 LIMIT 4 [ RunTime:0.002329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8250 ORDER BY `minOrder` ASC [ RunTime:0.002005s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8250 ORDER BY `unit` DESC [ RunTime:0.000301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8250 LIMIT 2 [ RunTime:0.001545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8250 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74VHC1G14DTT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6411 LIMIT 4 [ RunTime:0.000915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6411 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6411 ORDER BY `unit` DESC [ RunTime:0.000273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6411 LIMIT 2 [ RunTime:0.001471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6411 ORDER BY `minOrder` ASC [ RunTime:0.000202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'H11L1SVM' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008613s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11771 LIMIT 4 [ RunTime:0.000212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11771 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11771 ORDER BY `unit` DESC [ RunTime:0.000180s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11771 LIMIT 2 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11771 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HEF40175BT,653' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9229 LIMIT 4 [ RunTime:0.001547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9229 ORDER BY `minOrder` ASC [ RunTime:0.001618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9229 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9229 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9229 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HCT2G17GW,125' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004597s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 106 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002598s ]