SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001558s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001680s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001606s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.133' ) [ RunTime:0.000404s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001367s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000274s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 121 LIMIT 1 [ RunTime:0.000316s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 121 [ RunTime:0.000213s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000220s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001430s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 121 ) AND `u`.`lockUser` = '0' [ RunTime:0.002888s ]
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` = 121 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001999s ]
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 ('4031','8351','4047','2585','7482','7153','4950','14976','7400','4656','14982','7486','291','4533','4949','7484','4947','16762','16442','16343') ORDER BY FIELD(s.id, 4031,8351,4047,2585,7482,7153,4950,14976,7400,4656,14982,7486,291,4533,4949,7484,4947,16762,16442,16343) [ RunTime:0.005866s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001345s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4031 LIMIT 4 [ RunTime:0.004432s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000918s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4031 ORDER BY `unit` DESC [ RunTime:0.000267s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001066s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4031 LIMIT 2 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
select * from pdf where partno='1N4148WT-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000473s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001528s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.002433s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8351 LIMIT 4 [ RunTime:0.004041s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8351 ORDER BY `minOrder` ASC [ RunTime:0.001024s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8351 ORDER BY `unit` DESC [ RunTime:0.004312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8351 LIMIT 2 [ RunTime:0.011710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8351 ORDER BY `minOrder` ASC [ RunTime:0.002107s ]
select * from pdf where partno='BAW56S,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.009557s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56S,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005441s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4047 LIMIT 4 [ RunTime:0.002894s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4047 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4047 ORDER BY `unit` DESC [ RunTime:0.000195s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4047 LIMIT 2 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4047 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148W-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2585 LIMIT 4 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2585 ORDER BY `minOrder` ASC [ RunTime:0.000575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2585 ORDER BY `unit` DESC [ RunTime:0.000297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2585 LIMIT 2 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2585 ORDER BY `minOrder` ASC [ RunTime:0.000986s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.006809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7482 LIMIT 4 [ RunTime:0.001438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7482 ORDER BY `minOrder` ASC [ RunTime:0.001414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7482 ORDER BY `unit` DESC [ RunTime:0.001095s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7482 LIMIT 2 [ RunTime:0.000867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7482 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7153 LIMIT 4 [ RunTime:0.000291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7153 ORDER BY `minOrder` ASC [ RunTime:0.000495s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7153 ORDER BY `unit` DESC [ RunTime:0.000560s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7153 LIMIT 2 [ RunTime:0.001434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7153 ORDER BY `minOrder` ASC [ RunTime:0.001166s ]
select * from pdf where partno='1N4148W-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.013351s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148W-E3-08' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.006999s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4950 LIMIT 4 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4950 ORDER BY `minOrder` ASC [ RunTime:0.000446s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4950 ORDER BY `unit` DESC [ RunTime:0.005601s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4950 LIMIT 2 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4950 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
select * from pdf where partno='BAS70-06,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS70-06,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.008263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14976 LIMIT 4 [ RunTime:0.003273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14976 ORDER BY `minOrder` ASC [ RunTime:0.000949s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14976 ORDER BY `unit` DESC [ RunTime:0.000266s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14976 LIMIT 2 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14976 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
select * from pdf where partno='MMBD4148SE' and brandshort='ON' limit 1 [ RunTime:0.003368s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMBD4148SE' OR `brand` LIKE 'ON%' ) ) LIMIT 1 [ RunTime:0.008812s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7400 LIMIT 4 [ RunTime:0.000291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7400 ORDER BY `minOrder` ASC [ RunTime:0.001085s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7400 ORDER BY `unit` DESC [ RunTime:0.002895s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7400 LIMIT 2 [ RunTime:0.003765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7400 ORDER BY `minOrder` ASC [ RunTime:0.001032s ]
select * from pdf where partno='1N4148WT' and brandshort='ONSEMI' limit 1 [ RunTime:0.007752s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014759s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4656 LIMIT 4 [ RunTime:0.002186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4656 ORDER BY `minOrder` ASC [ RunTime:0.002077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4656 ORDER BY `unit` DESC [ RunTime:0.000265s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4656 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4656 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
select * from pdf where partno='BAV21W-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV21W-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000255s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14982 LIMIT 4 [ RunTime:0.006944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14982 ORDER BY `minOrder` ASC [ RunTime:0.005688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14982 ORDER BY `unit` DESC [ RunTime:0.002689s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14982 LIMIT 2 [ RunTime:0.002407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14982 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
select * from pdf where partno='MMBD3004S-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.001510s ]
select foldpath,foldpath2,filename from pdf_file where id=613255 limit 1 [ RunTime:0.002287s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMBD3004S-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.008143s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7486 LIMIT 4 [ RunTime:0.007018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7486 ORDER BY `minOrder` ASC [ RunTime:0.000585s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7486 ORDER BY `unit` DESC [ RunTime:0.000678s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7486 LIMIT 2 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7486 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS45AL,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 291 LIMIT 4 [ RunTime:0.000594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 291 ORDER BY `minOrder` ASC [ RunTime:0.001688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 291 ORDER BY `unit` DESC [ RunTime:0.001753s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 291 LIMIT 2 [ RunTime:0.002275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 291 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.002950s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4533 LIMIT 4 [ RunTime:0.000666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4533 ORDER BY `minOrder` ASC [ RunTime:0.000605s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4533 ORDER BY `unit` DESC [ RunTime:0.000344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4533 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4533 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
select * from pdf where partno='1N4448WS-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001667s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4448WS-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4949 LIMIT 4 [ RunTime:0.000820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4949 ORDER BY `minOrder` ASC [ RunTime:0.003019s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4949 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4949 LIMIT 2 [ RunTime:0.000584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4949 ORDER BY `minOrder` ASC [ RunTime:0.001245s ]
select * from pdf where partno='BAS40L,315' and brandshort='NEXPERIA' limit 1 [ RunTime:0.002011s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS40L,315' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.014403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7484 LIMIT 4 [ RunTime:0.001476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7484 ORDER BY `minOrder` ASC [ RunTime:0.001822s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7484 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7484 LIMIT 2 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7484 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20HT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4947 LIMIT 4 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4947 ORDER BY `minOrder` ASC [ RunTime:0.002020s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4947 ORDER BY `unit` DESC [ RunTime:0.003320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4947 LIMIT 2 [ RunTime:0.002906s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4947 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
select * from pdf where partno='BAS16H,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.002326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS16H,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16762 LIMIT 4 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16762 ORDER BY `minOrder` ASC [ RunTime:0.000468s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16762 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16762 LIMIT 2 [ RunTime:0.003464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16762 ORDER BY `minOrder` ASC [ RunTime:0.001280s ]
select * from pdf where partno='BAW56LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000896s ]
select foldpath,foldpath2,filename from pdf_file where id=568830 limit 1 [ RunTime:0.003997s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.002758s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16442 LIMIT 4 [ RunTime:0.000585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16442 ORDER BY `minOrder` ASC [ RunTime:0.000523s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16442 ORDER BY `unit` DESC [ RunTime:0.000277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16442 LIMIT 2 [ RunTime:0.001475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16442 ORDER BY `minOrder` ASC [ RunTime:0.003223s ]
select * from pdf where partno='1SS355TE-17' and brandshort='ROHM' limit 1 [ RunTime:0.003174s ]
select foldpath,foldpath2,filename from pdf_file where id=1106100 limit 1 [ RunTime:0.002510s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.000240s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16343 LIMIT 4 [ RunTime:0.001940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16343 ORDER BY `minOrder` ASC [ RunTime:0.002115s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16343 ORDER BY `unit` DESC [ RunTime:0.000453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16343 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16343 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
select * from pdf where partno='BAV74LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.001492s ]
select foldpath,foldpath2,filename from pdf_file where id=668717 limit 1 [ RunTime:0.004041s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV74LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007162s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 121 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001053s ]