SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002636s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000534s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002270s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.133' ) [ RunTime:0.000345s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001806s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000276s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 27 LIMIT 1 [ RunTime:0.000349s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 27 [ RunTime:0.000234s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216) [ RunTime:0.000748s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002724s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216) ) AND `u`.`lockUser` = '0' [ RunTime:0.002643s ]
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 (187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002258s ]
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 ('14920','14910','14913','6040','14912','14917','7686','1699','14918','14733','10704','12691','657','10817','2010','14734','14930','3296','658','10872') ORDER BY FIELD(s.id, 14920,14910,14913,6040,14912,14917,7686,1699,14918,14733,10704,12691,657,10817,2010,14734,14930,3296,658,10872) [ RunTime:0.009071s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14920 LIMIT 4 [ RunTime:0.005861s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14920 ORDER BY `minOrder` ASC [ RunTime:0.001007s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001690s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14920 ORDER BY `unit` DESC [ RunTime:0.001046s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002195s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14920 LIMIT 2 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14920 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
select * from pdf where partno='KSZ8041NLI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000969s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003811s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8041NLI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.028970s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14910 LIMIT 4 [ RunTime:0.000686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14910 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14910 ORDER BY `unit` DESC [ RunTime:0.005857s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14910 LIMIT 2 [ RunTime:0.001029s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14910 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
select * from pdf where partno='KSZ8041NLI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000507s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8041NLI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14913 LIMIT 4 [ RunTime:0.000614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14913 ORDER BY `minOrder` ASC [ RunTime:0.006691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14913 ORDER BY `unit` DESC [ RunTime:0.000667s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14913 LIMIT 2 [ RunTime:0.004770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14913 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
select * from pdf where partno='USB2514BI-AEZG-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.004351s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'USB2514BI-AEZG-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.010025s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6040 LIMIT 4 [ RunTime:0.000911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6040 ORDER BY `minOrder` ASC [ RunTime:0.003424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6040 ORDER BY `unit` DESC [ RunTime:0.000456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6040 LIMIT 2 [ RunTime:0.000826s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6040 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN8710AI-EZK' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.009745s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14912 LIMIT 4 [ RunTime:0.003873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14912 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14912 ORDER BY `unit` DESC [ RunTime:0.001985s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14912 LIMIT 2 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14912 ORDER BY `minOrder` ASC [ RunTime:0.000646s ]
select * from pdf where partno='KSZ9031RNXIC-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002439s ]
select foldpath,foldpath2,filename from pdf_file where id=1503653 limit 1 [ RunTime:0.002427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9031RNXIC-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.016621s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14917 LIMIT 4 [ RunTime:0.005576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14917 ORDER BY `minOrder` ASC [ RunTime:0.002370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14917 ORDER BY `unit` DESC [ RunTime:0.001039s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14917 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14917 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
select * from pdf where partno='KSZ8081MNXIA-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.012172s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ8081MNXIA-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.020863s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7686 LIMIT 4 [ RunTime:0.000695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7686 ORDER BY `minOrder` ASC [ RunTime:0.005766s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7686 ORDER BY `unit` DESC [ RunTime:0.004671s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7686 LIMIT 2 [ RunTime:0.001706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7686 ORDER BY `minOrder` ASC [ RunTime:0.002991s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IFX1050GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.012357s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1699 LIMIT 4 [ RunTime:0.002112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1699 ORDER BY `minOrder` ASC [ RunTime:0.007450s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1699 ORDER BY `unit` DESC [ RunTime:0.003698s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1699 LIMIT 2 [ RunTime:0.000752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1699 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67803-8020' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.014294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14918 LIMIT 4 [ RunTime:0.002802s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14918 ORDER BY `minOrder` ASC [ RunTime:0.004385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14918 ORDER BY `unit` DESC [ RunTime:0.000618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14918 LIMIT 2 [ RunTime:0.000560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14918 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
select * from pdf where partno='KSZ9131RNXI-TR' and brandshort='MICROCHIP' limit 1 [ RunTime:0.013127s ]
select foldpath,foldpath2,filename from pdf_file where id=2182166 limit 1 [ RunTime:0.011012s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSZ9131RNXI-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.020684s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14733 LIMIT 4 [ RunTime:0.004500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14733 ORDER BY `minOrder` ASC [ RunTime:0.000628s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14733 ORDER BY `unit` DESC [ RunTime:0.000920s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14733 LIMIT 2 [ RunTime:0.000664s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14733 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54819-0519....' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.012327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10704 LIMIT 4 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10704 ORDER BY `minOrder` ASC [ RunTime:0.004198s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10704 ORDER BY `unit` DESC [ RunTime:0.001128s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10704 LIMIT 2 [ RunTime:0.004694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10704 ORDER BY `minOrder` ASC [ RunTime:0.000731s ]
select * from pdf where partno='ASM-1900147-21' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001789s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASM-1900147-21' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12691 LIMIT 4 [ RunTime:0.000605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12691 ORDER BY `minOrder` ASC [ RunTime:0.006302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12691 ORDER BY `unit` DESC [ RunTime:0.002760s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12691 LIMIT 2 [ RunTime:0.001299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12691 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMTH8028LPSWQ-13' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.010813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 657 LIMIT 4 [ RunTime:0.002599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 657 ORDER BY `minOrder` ASC [ RunTime:0.001966s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 657 ORDER BY `unit` DESC [ RunTime:0.001610s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 657 LIMIT 2 [ RunTime:0.003009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 657 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '565790519' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.016174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10817 LIMIT 4 [ RunTime:0.004993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10817 ORDER BY `minOrder` ASC [ RunTime:0.001864s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10817 ORDER BY `unit` DESC [ RunTime:0.000631s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10817 LIMIT 2 [ RunTime:0.000666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10817 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI4B_CASE_RED/WHITE' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.001022s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2010 LIMIT 4 [ RunTime:0.003315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2010 ORDER BY `minOrder` ASC [ RunTime:0.001529s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2010 ORDER BY `unit` DESC [ RunTime:0.010383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2010 LIMIT 2 [ RunTime:0.008357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2010 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
select * from pdf where partno='AT90CAN128-16AU' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002352s ]
select foldpath,foldpath2,filename from pdf_file where id=1448198 limit 1 [ RunTime:0.001005s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT90CAN128-16AU' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.020560s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14734 LIMIT 4 [ RunTime:0.002217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14734 ORDER BY `minOrder` ASC [ RunTime:0.006217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14734 ORDER BY `unit` DESC [ RunTime:0.004823s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14734 LIMIT 2 [ RunTime:0.013769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14734 ORDER BY `minOrder` ASC [ RunTime:0.002771s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54819-0572' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.013706s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14930 LIMIT 4 [ RunTime:0.004156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14930 ORDER BY `minOrder` ASC [ RunTime:0.007053s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14930 ORDER BY `unit` DESC [ RunTime:0.002274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14930 LIMIT 2 [ RunTime:0.001240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14930 ORDER BY `minOrder` ASC [ RunTime:0.001165s ]
select * from pdf where partno='CNT-USB-04-F' and brandshort='CNT' limit 1 [ RunTime:0.000949s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-USB-04-F' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.003751s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3296 LIMIT 4 [ RunTime:0.001563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3296 ORDER BY `minOrder` ASC [ RunTime:0.005273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3296 ORDER BY `unit` DESC [ RunTime:0.001630s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3296 LIMIT 2 [ RunTime:0.002544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3296 ORDER BY `minOrder` ASC [ RunTime:0.000701s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '244-11300-15' OR `brand` LIKE 'EPT%' ) ) LIMIT 1 [ RunTime:0.008461s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 658 LIMIT 4 [ RunTime:0.000646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 658 ORDER BY `minOrder` ASC [ RunTime:0.003753s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 658 ORDER BY `unit` DESC [ RunTime:0.000602s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 658 LIMIT 2 [ RunTime:0.000567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 658 ORDER BY `minOrder` ASC [ RunTime:0.005814s ]
select * from pdf where partno='67503-1020...' and brandshort='MOLEX' limit 1 [ RunTime:0.006551s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67503-1020...' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.014769s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10872 LIMIT 4 [ RunTime:0.000760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10872 ORDER BY `minOrder` ASC [ RunTime:0.000608s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10872 ORDER BY `unit` DESC [ RunTime:0.002128s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10872 LIMIT 2 [ RunTime:0.002674s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10872 ORDER BY `minOrder` ASC [ RunTime:0.000899s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'USB3320C-EZK-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.020986s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002409s ]