SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001136s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000543s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001288s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.94' ) [ RunTime:0.000281s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001721s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000278s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 20 LIMIT 1 [ RunTime:0.000328s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 20 [ RunTime:0.000295s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (102,103,104,105,106,107,108,109,110,111,112,113,114,115) [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001628s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) AND `u`.`lockUser` = '0' [ RunTime:0.001408s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` IN (102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001283s ]
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 = 1) ) AND `s`.`id` IN ('7234','14981','7381','11765','14560','7535','2848','14941','11762','9518','7233','7391','7390','16996','16825','16759','16551','16269','15978','15806') ORDER BY FIELD(s.id, 7234,14981,7381,11765,14560,7535,2848,14941,11762,9518,7233,7391,7390,16996,16825,16759,16551,16269,15978,15806) [ RunTime:0.002631s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7234 LIMIT 4 [ RunTime:0.000804s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.001648s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002159s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7234 ORDER BY `unit` DESC [ RunTime:0.000809s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001828s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7234 LIMIT 2 [ RunTime:0.001307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002835s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NPIC6C596PW-Q100,1' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.008604s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14981 LIMIT 4 [ RunTime:0.000537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14981 ORDER BY `minOrder` ASC [ RunTime:0.001589s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14981 ORDER BY `unit` DESC [ RunTime:0.000553s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14981 LIMIT 2 [ RunTime:0.002673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14981 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
select * from pdf where partno='74LVC1G07GW,125' and brandshort='Nexperia' limit 1 [ RunTime:0.001967s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVC1G07GW,125' OR `brand` LIKE 'Nexperia%' ) ) LIMIT 1 [ RunTime:0.008067s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7381 LIMIT 4 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7381 ORDER BY `minOrder` ASC [ RunTime:0.000801s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7381 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7381 LIMIT 2 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7381 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC7SZ175P6X' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11765 LIMIT 4 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11765 ORDER BY `minOrder` ASC [ RunTime:0.001679s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11765 ORDER BY `unit` DESC [ RunTime:0.000315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11765 LIMIT 2 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11765 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVC1G74DC-Q100H' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000708s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14560 LIMIT 4 [ RunTime:0.002883s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14560 ORDER BY `minOrder` ASC [ RunTime:0.001755s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14560 ORDER BY `unit` DESC [ RunTime:0.000599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14560 LIMIT 2 [ RunTime:0.000436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14560 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL7135CPIZ' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.006903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7535 LIMIT 4 [ RunTime:0.000234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7535 ORDER BY `minOrder` ASC [ RunTime:0.000493s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7535 ORDER BY `unit` DESC [ RunTime:0.000213s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7535 LIMIT 2 [ RunTime:0.000198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7535 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC174ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2848 LIMIT 4 [ RunTime:0.000298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2848 ORDER BY `unit` DESC [ RunTime:0.000313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2848 LIMIT 2 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.000208s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008990s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14941 LIMIT 4 [ RunTime:0.001852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14941 ORDER BY `minOrder` ASC [ RunTime:0.000784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14941 ORDER BY `unit` DESC [ RunTime:0.000338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14941 LIMIT 2 [ RunTime:0.000417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14941 ORDER BY `minOrder` ASC [ RunTime:0.000553s ]
select * from pdf where partno='74AVC16T245DGG,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.004546s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74AVC16T245DGG,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004650s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11762 LIMIT 4 [ RunTime:0.001333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11762 ORDER BY `minOrder` ASC [ RunTime:0.002386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11762 ORDER BY `unit` DESC [ RunTime:0.000581s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11762 LIMIT 2 [ RunTime:0.003323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11762 ORDER BY `minOrder` ASC [ RunTime:0.000528s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4538DB,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.011080s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9518 LIMIT 4 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9518 ORDER BY `minOrder` ASC [ RunTime:0.001436s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9518 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9518 LIMIT 2 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9518 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NL27WZ17DFT2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.001081s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7233 LIMIT 4 [ RunTime:0.003298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.002552s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7233 ORDER BY `unit` DESC [ RunTime:0.000636s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7233 LIMIT 2 [ RunTime:0.001216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.000436s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74AHCT594PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007607s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7391 LIMIT 4 [ RunTime:0.000662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7391 ORDER BY `minOrder` ASC [ RunTime:0.001176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7391 ORDER BY `unit` DESC [ RunTime:0.000774s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7391 LIMIT 2 [ RunTime:0.001715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7391 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7390 LIMIT 4 [ RunTime:0.000700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7390 ORDER BY `minOrder` ASC [ RunTime:0.000694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7390 ORDER BY `unit` DESC [ RunTime:0.000684s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7390 LIMIT 2 [ RunTime:0.000594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7390 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74VHC595MX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014661s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16996 LIMIT 4 [ RunTime:0.000644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16996 ORDER BY `minOrder` ASC [ RunTime:0.001147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16996 ORDER BY `unit` DESC [ RunTime:0.001035s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16996 LIMIT 2 [ RunTime:0.001118s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16996 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
select * from pdf where partno='74HC4538DB,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.005865s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4538DB,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16825 LIMIT 4 [ RunTime:0.001297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16825 ORDER BY `minOrder` ASC [ RunTime:0.001222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16825 ORDER BY `unit` DESC [ RunTime:0.000935s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16825 LIMIT 2 [ RunTime:0.000788s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16825 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
select * from pdf where partno='MC74HC595ADTR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.002789s ]
select foldpath,foldpath2,filename from pdf_file where id=1135691 limit 1 [ RunTime:0.001515s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000784s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16759 LIMIT 4 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16759 ORDER BY `minOrder` ASC [ RunTime:0.001470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16759 ORDER BY `unit` DESC [ RunTime:0.000437s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16759 LIMIT 2 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16759 ORDER BY `minOrder` ASC [ RunTime:0.000429s ]
select * from pdf where partno='MC74HC74ADR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000399s ]
select foldpath,foldpath2,filename from pdf_file where id=532743 limit 1 [ RunTime:0.000292s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC74ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000439s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16551 LIMIT 4 [ RunTime:0.001157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16551 ORDER BY `minOrder` ASC [ RunTime:0.002743s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16551 ORDER BY `unit` DESC [ RunTime:0.002509s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16551 LIMIT 2 [ RunTime:0.000858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16551 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
select * from pdf where partno='MM74HC595MTCX' and brandshort='ONSEMI' limit 1 [ RunTime:0.001849s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16269 LIMIT 4 [ RunTime:0.000567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16269 ORDER BY `minOrder` ASC [ RunTime:0.002770s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16269 ORDER BY `unit` DESC [ RunTime:0.000424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16269 LIMIT 2 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16269 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
select * from pdf where partno='74HC14PW,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000594s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC14PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15978 LIMIT 4 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15978 ORDER BY `minOrder` ASC [ RunTime:0.001071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15978 ORDER BY `unit` DESC [ RunTime:0.000946s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15978 LIMIT 2 [ RunTime:0.001043s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15978 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
select * from pdf where partno='74HC4538DB,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000551s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4538DB,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000422s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15806 LIMIT 4 [ RunTime:0.000738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15806 ORDER BY `minOrder` ASC [ RunTime:0.001500s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15806 ORDER BY `unit` DESC [ RunTime:0.001182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15806 LIMIT 2 [ RunTime:0.001175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15806 ORDER BY `minOrder` ASC [ RunTime:0.000477s ]
select * from pdf where partno='MC74HC595ADTR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000543s ]
select foldpath,foldpath2,filename from pdf_file where id=1135691 limit 1 [ RunTime:0.000375s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000423s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002812s ]