SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001836s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000477s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002628s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.133' ) [ RunTime:0.000348s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001864s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000287s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 20 LIMIT 1 [ RunTime:0.000329s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 20 [ RunTime:0.000223s ]
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.000279s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002066s ]
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.002964s ]
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.002372s ]
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.004644s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004587s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7234 LIMIT 4 [ RunTime:0.003934s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003111s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.001164s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004663s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7234 ORDER BY `unit` DESC [ RunTime:0.002905s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004864s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7234 LIMIT 2 [ RunTime:0.003202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.002730s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002685s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NPIC6C596PW-Q100,1' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007021s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14981 LIMIT 4 [ RunTime:0.003155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14981 ORDER BY `minOrder` ASC [ RunTime:0.004153s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14981 ORDER BY `unit` DESC [ RunTime:0.001278s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14981 LIMIT 2 [ RunTime:0.004418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14981 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
select * from pdf where partno='74LVC1G07GW,125' and brandshort='Nexperia' limit 1 [ RunTime:0.005814s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVC1G07GW,125' OR `brand` LIKE 'Nexperia%' ) ) LIMIT 1 [ RunTime:0.007768s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7381 LIMIT 4 [ RunTime:0.000733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7381 ORDER BY `minOrder` ASC [ RunTime:0.000659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7381 ORDER BY `unit` DESC [ RunTime:0.001168s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7381 LIMIT 2 [ RunTime:0.004735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7381 ORDER BY `minOrder` ASC [ RunTime:0.004264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC7SZ175P6X' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.010508s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11765 LIMIT 4 [ RunTime:0.000494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11765 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11765 ORDER BY `unit` DESC [ RunTime:0.000272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11765 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11765 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVC1G74DC-Q100H' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007185s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14560 LIMIT 4 [ RunTime:0.002074s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14560 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14560 ORDER BY `unit` DESC [ RunTime:0.000175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14560 LIMIT 2 [ RunTime:0.000161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14560 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL7135CPIZ' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.000213s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7535 LIMIT 4 [ RunTime:0.001714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7535 ORDER BY `minOrder` ASC [ RunTime:0.001571s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7535 ORDER BY `unit` DESC [ RunTime:0.000327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7535 LIMIT 2 [ RunTime:0.000436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7535 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC174ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007494s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2848 LIMIT 4 [ RunTime:0.002175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.004899s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2848 ORDER BY `unit` DESC [ RunTime:0.001014s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2848 LIMIT 2 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14941 LIMIT 4 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14941 ORDER BY `minOrder` ASC [ RunTime:0.004047s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14941 ORDER BY `unit` DESC [ RunTime:0.000196s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14941 LIMIT 2 [ RunTime:0.000195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14941 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
select * from pdf where partno='74AVC16T245DGG,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74AVC16T245DGG,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11762 LIMIT 4 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11762 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11762 ORDER BY `unit` DESC [ RunTime:0.000148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11762 LIMIT 2 [ RunTime:0.000147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11762 ORDER BY `minOrder` ASC [ RunTime:0.000429s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4538DB,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9518 LIMIT 4 [ RunTime:0.003185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9518 ORDER BY `minOrder` ASC [ RunTime:0.000873s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9518 ORDER BY `unit` DESC [ RunTime:0.000559s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9518 LIMIT 2 [ RunTime:0.002900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9518 ORDER BY `minOrder` ASC [ RunTime:0.001573s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NL27WZ17DFT2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.009096s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7233 LIMIT 4 [ RunTime:0.007775s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.000904s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7233 ORDER BY `unit` DESC [ RunTime:0.002138s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7233 LIMIT 2 [ RunTime:0.004164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.001389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74AHCT594PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006985s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7391 LIMIT 4 [ RunTime:0.000519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7391 ORDER BY `minOrder` ASC [ RunTime:0.000417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7391 ORDER BY `unit` DESC [ RunTime:0.000849s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7391 LIMIT 2 [ RunTime:0.005150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7391 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.013841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7390 LIMIT 4 [ RunTime:0.000548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7390 ORDER BY `minOrder` ASC [ RunTime:0.006230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7390 ORDER BY `unit` DESC [ RunTime:0.001796s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7390 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7390 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74VHC595MX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.015024s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16996 LIMIT 4 [ RunTime:0.003485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16996 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16996 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16996 LIMIT 2 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16996 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
select * from pdf where partno='74HC4538DB,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000615s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4538DB,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000372s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16825 LIMIT 4 [ RunTime:0.001727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16825 ORDER BY `minOrder` ASC [ RunTime:0.003915s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16825 ORDER BY `unit` DESC [ RunTime:0.002345s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16825 LIMIT 2 [ RunTime:0.003512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16825 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
select * from pdf where partno='MC74HC595ADTR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.001962s ]
select foldpath,foldpath2,filename from pdf_file where id=1135691 limit 1 [ RunTime:0.007323s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.001532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16759 LIMIT 4 [ RunTime:0.000659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16759 ORDER BY `minOrder` ASC [ RunTime:0.001945s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16759 ORDER BY `unit` DESC [ RunTime:0.005337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16759 LIMIT 2 [ RunTime:0.004529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16759 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
select * from pdf where partno='MC74HC74ADR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.001158s ]
select foldpath,foldpath2,filename from pdf_file where id=532743 limit 1 [ RunTime:0.000991s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC74ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006071s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16551 LIMIT 4 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16551 ORDER BY `minOrder` ASC [ RunTime:0.001723s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16551 ORDER BY `unit` DESC [ RunTime:0.002459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16551 LIMIT 2 [ RunTime:0.003416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16551 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
select * from pdf where partno='MM74HC595MTCX' and brandshort='ONSEMI' limit 1 [ RunTime:0.002051s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16269 LIMIT 4 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16269 ORDER BY `minOrder` ASC [ RunTime:0.000470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16269 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16269 LIMIT 2 [ RunTime:0.002212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16269 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
select * from pdf where partno='74HC14PW,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001192s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC14PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004035s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15978 LIMIT 4 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15978 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15978 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15978 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15978 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='74HC4538DB,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4538DB,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15806 LIMIT 4 [ RunTime:0.000346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15806 ORDER BY `minOrder` ASC [ RunTime:0.002653s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15806 ORDER BY `unit` DESC [ RunTime:0.000352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15806 LIMIT 2 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15806 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
select * from pdf where partno='MC74HC595ADTR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000324s ]
select foldpath,foldpath2,filename from pdf_file where id=1135691 limit 1 [ RunTime:0.000230s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000252s ]
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.001091s ]