SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002136s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.004206s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002522s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000413s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001933s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000246s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 313 LIMIT 1 [ RunTime:0.000422s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 313 [ RunTime:0.000182s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 31 [ RunTime:0.000191s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001253s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 313 ) AND `u`.`lockUser` = '0' [ RunTime:0.015282s ]
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` = 313 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011258s ]
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 ('3571','3878','6554','1946','13869','9185','3225','253','13870','5223','13876','3568','3678','576','3880','3877','7003','3553','2235','3881') ORDER BY FIELD(s.id, 3571,3878,6554,1946,13869,9185,3225,253,13870,5223,13876,3568,3678,576,3880,3877,7003,3553,2235,3881) [ RunTime:0.005312s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3571 LIMIT 4 [ RunTime:0.000428s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3571 ORDER BY `minOrder` ASC [ RunTime:0.011490s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3571 ORDER BY `unit` DESC [ RunTime:0.000905s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.008695s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3571 LIMIT 2 [ RunTime:0.006876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3571 ORDER BY `minOrder` ASC [ RunTime:0.012667s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002559s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSR16..' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.022842s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3878 LIMIT 4 [ RunTime:0.008030s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3878 ORDER BY `minOrder` ASC [ RunTime:0.024265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3878 ORDER BY `unit` DESC [ RunTime:0.018655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3878 LIMIT 2 [ RunTime:0.018700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3878 ORDER BY `minOrder` ASC [ RunTime:0.006242s ]
select * from pdf where partno='PMEG4010CEJ,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.017453s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG4010CEJ,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.026800s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6554 LIMIT 4 [ RunTime:0.012890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6554 ORDER BY `minOrder` ASC [ RunTime:0.034253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6554 ORDER BY `unit` DESC [ RunTime:0.007391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6554 LIMIT 2 [ RunTime:0.000893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6554 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FDV303N' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.010386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1946 LIMIT 4 [ RunTime:0.017898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1946 ORDER BY `minOrder` ASC [ RunTime:0.011444s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1946 ORDER BY `unit` DESC [ RunTime:0.009621s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1946 LIMIT 2 [ RunTime:0.006912s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1946 ORDER BY `minOrder` ASC [ RunTime:0.001527s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.011618s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13869 LIMIT 4 [ RunTime:0.005719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13869 ORDER BY `minOrder` ASC [ RunTime:0.009348s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13869 ORDER BY `unit` DESC [ RunTime:0.004992s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13869 LIMIT 2 [ RunTime:0.004149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13869 ORDER BY `minOrder` ASC [ RunTime:0.006082s ]
select * from pdf where partno='IRF540NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.007166s ]
select foldpath,foldpath2,filename from pdf_file where id=99672 limit 1 [ RunTime:0.000722s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF540NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.006948s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9185 LIMIT 4 [ RunTime:0.001924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9185 ORDER BY `minOrder` ASC [ RunTime:0.000861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9185 ORDER BY `unit` DESC [ RunTime:0.002959s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9185 LIMIT 2 [ RunTime:0.005326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9185 ORDER BY `minOrder` ASC [ RunTime:0.001795s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGU8009,115' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.006781s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3225 LIMIT 4 [ RunTime:0.000991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3225 ORDER BY `minOrder` ASC [ RunTime:0.001383s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3225 ORDER BY `unit` DESC [ RunTime:0.002122s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3225 LIMIT 2 [ RunTime:0.001425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3225 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
select * from pdf where partno='BC846BLT1G.' and brandshort='ONSEMI' limit 1 [ RunTime:0.002012s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BC846BLT1G.' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006573s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 253 LIMIT 4 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 253 ORDER BY `minOrder` ASC [ RunTime:0.001256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 253 ORDER BY `unit` DESC [ RunTime:0.004236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 253 LIMIT 2 [ RunTime:0.043403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 253 ORDER BY `minOrder` ASC [ RunTime:0.001454s ]
select * from pdf where partno='BTA26-600BRG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.015463s ]
select foldpath,foldpath2,filename from pdf_file where id=668671 limit 1 [ RunTime:0.005689s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTA26-600BRG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.008380s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13870 LIMIT 4 [ RunTime:0.006659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13870 ORDER BY `minOrder` ASC [ RunTime:0.009829s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13870 ORDER BY `unit` DESC [ RunTime:0.010423s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13870 LIMIT 2 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13870 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
select * from pdf where partno='IRF640NPBF' and brandshort='INFINEON' limit 1 [ RunTime:0.001931s ]
select foldpath,foldpath2,filename from pdf_file where id=601823 limit 1 [ RunTime:0.008161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRF640NPBF' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.014420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5223 LIMIT 4 [ RunTime:0.000851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5223 ORDER BY `minOrder` ASC [ RunTime:0.010854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5223 ORDER BY `unit` DESC [ RunTime:0.006169s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5223 LIMIT 2 [ RunTime:0.000955s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5223 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC202472M090B20C7B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13876 LIMIT 4 [ RunTime:0.000511s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13876 ORDER BY `minOrder` ASC [ RunTime:0.000534s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13876 ORDER BY `unit` DESC [ RunTime:0.001643s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13876 LIMIT 2 [ RunTime:0.001614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13876 ORDER BY `minOrder` ASC [ RunTime:0.003047s ]
select * from pdf where partno='IRFU9120PBF' and brandshort='VISHAY' limit 1 [ RunTime:0.016446s ]
select foldpath,foldpath2,filename from pdf_file where id=874151 limit 1 [ RunTime:0.007560s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IRFU9120PBF' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.016668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3568 LIMIT 4 [ RunTime:0.003217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3568 ORDER BY `minOrder` ASC [ RunTime:0.003380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3568 ORDER BY `unit` DESC [ RunTime:0.002722s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3568 LIMIT 2 [ RunTime:0.018438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3568 ORDER BY `minOrder` ASC [ RunTime:0.006199s ]
select * from pdf where partno='GF1J' and brandshort='ONSEMI' limit 1 [ RunTime:0.018362s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GF1J' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.018802s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3678 LIMIT 4 [ RunTime:0.000993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3678 ORDER BY `minOrder` ASC [ RunTime:0.003829s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3678 ORDER BY `unit` DESC [ RunTime:0.002542s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3678 LIMIT 2 [ RunTime:0.007375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3678 ORDER BY `minOrder` ASC [ RunTime:0.000462s ]
select * from pdf where partno='2N7002-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.002887s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.002314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 576 LIMIT 4 [ RunTime:0.000537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 576 ORDER BY `minOrder` ASC [ RunTime:0.003151s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 576 ORDER BY `unit` DESC [ RunTime:0.003202s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 576 LIMIT 2 [ RunTime:0.000887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 576 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '19050351' OR `brand` LIKE 'CML INNOVATIVE TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.000997s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3880 LIMIT 4 [ RunTime:0.000506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3880 ORDER BY `minOrder` ASC [ RunTime:0.001779s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3880 ORDER BY `unit` DESC [ RunTime:0.004257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3880 LIMIT 2 [ RunTime:0.005720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3880 ORDER BY `minOrder` ASC [ RunTime:0.001854s ]
select * from pdf where partno='BZX585-B5V1,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.003073s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BZX585-B5V1,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.010497s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3877 LIMIT 4 [ RunTime:0.004884s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3877 ORDER BY `minOrder` ASC [ RunTime:0.001689s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3877 ORDER BY `unit` DESC [ RunTime:0.000599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3877 LIMIT 2 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3877 ORDER BY `minOrder` ASC [ RunTime:0.004236s ]
select * from pdf where partno='PMEG3020EJ,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.011837s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG3020EJ,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.019780s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7003 LIMIT 4 [ RunTime:0.000933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7003 ORDER BY `minOrder` ASC [ RunTime:0.001194s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7003 ORDER BY `unit` DESC [ RunTime:0.000720s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7003 LIMIT 2 [ RunTime:0.009525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7003 ORDER BY `minOrder` ASC [ RunTime:0.017161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F950J107MAAAQ2' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.008352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3553 LIMIT 4 [ RunTime:0.025887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553 ORDER BY `minOrder` ASC [ RunTime:0.000870s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3553 ORDER BY `unit` DESC [ RunTime:0.001876s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3553 LIMIT 2 [ RunTime:0.004299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMBJ15CA-E3/52' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.016966s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2235 LIMIT 4 [ RunTime:0.002187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2235 ORDER BY `minOrder` ASC [ RunTime:0.001853s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2235 ORDER BY `unit` DESC [ RunTime:0.002381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2235 LIMIT 2 [ RunTime:0.002991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2235 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
select * from pdf where partno='1N457' and brandshort='ONSEMI' limit 1 [ RunTime:0.002960s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N457' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.009696s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3881 LIMIT 4 [ RunTime:0.002228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3881 ORDER BY `minOrder` ASC [ RunTime:0.000611s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3881 ORDER BY `unit` DESC [ RunTime:0.001458s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3881 LIMIT 2 [ RunTime:0.003653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3881 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PDZ3.3B,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004698s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 313 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.009574s ]