SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002333s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.020964s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002322s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.050743s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002871s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.009747s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 252 LIMIT 1 [ RunTime:0.000387s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 252 [ RunTime:0.025028s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.034097s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002383s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 252 ) AND `u`.`lockUser` = '0' [ RunTime:0.059475s ]
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` = 252 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.082382s ]
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 ('6711','13442','5685','5860','6641','7372','3646','1017','4544','5596','991','4266','3647','3648','4244','1530','197','4545','4200','5624') ORDER BY FIELD(s.id, 6711,13442,5685,5860,6641,7372,3646,1017,4544,5596,991,4266,3647,3648,4244,1530,197,4545,4200,5624) [ RunTime:0.110160s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.048962s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6711 LIMIT 4 [ RunTime:0.039414s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.058405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.036487s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.039966s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6711 ORDER BY `unit` DESC [ RunTime:0.066903s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002166s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6711 LIMIT 2 [ RunTime:0.073681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.063116s ]
select * from pdf where partno='EMK105B7104KV-F' and brandshort='TAIYO YUDEN' limit 1 [ RunTime:0.062748s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003092s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EMK105B7104KV-F' OR `brand` LIKE 'TAIYO YUDEN%' ) ) LIMIT 1 [ RunTime:0.047453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13442 LIMIT 4 [ RunTime:0.017613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13442 ORDER BY `minOrder` ASC [ RunTime:0.019702s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13442 ORDER BY `unit` DESC [ RunTime:0.025591s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13442 LIMIT 2 [ RunTime:0.000618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13442 ORDER BY `minOrder` ASC [ RunTime:0.002972s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12063C103KAT2A' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.040714s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5685 LIMIT 4 [ RunTime:0.008524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5685 ORDER BY `minOrder` ASC [ RunTime:0.014925s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5685 ORDER BY `unit` DESC [ RunTime:0.020336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5685 LIMIT 2 [ RunTime:0.028005s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5685 ORDER BY `minOrder` ASC [ RunTime:0.013612s ]
select * from pdf where partno='C1608X7R1H104K' and brandshort='TDK' limit 1 [ RunTime:0.028364s ]
select foldpath,foldpath2,filename from pdf_file where id=1113786 limit 1 [ RunTime:0.021274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1608X7R1H104K' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.020607s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5860 LIMIT 4 [ RunTime:0.028395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5860 ORDER BY `minOrder` ASC [ RunTime:0.002219s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5860 ORDER BY `unit` DESC [ RunTime:0.009533s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5860 LIMIT 2 [ RunTime:0.058447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5860 ORDER BY `minOrder` ASC [ RunTime:0.006698s ]
select * from pdf where partno='175196-2' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.021130s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '175196-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.070613s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6641 LIMIT 4 [ RunTime:0.031605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641 ORDER BY `minOrder` ASC [ RunTime:0.029036s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6641 ORDER BY `unit` DESC [ RunTime:0.007313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6641 LIMIT 2 [ RunTime:0.031031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641 ORDER BY `minOrder` ASC [ RunTime:0.024043s ]
select * from pdf where partno='C1005X7R1E104M050BB' and brandshort='TDK' limit 1 [ RunTime:0.015950s ]
select foldpath,foldpath2,filename from pdf_file where id=1917795 limit 1 [ RunTime:0.026354s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1005X7R1E104M050BB' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.044247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7372 LIMIT 4 [ RunTime:0.015427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7372 ORDER BY `minOrder` ASC [ RunTime:0.124584s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7372 ORDER BY `unit` DESC [ RunTime:0.080839s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7372 LIMIT 2 [ RunTime:0.164812s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7372 ORDER BY `minOrder` ASC [ RunTime:0.023853s ]
select * from pdf where partno='175362-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.091242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '175362-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.125468s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3646 LIMIT 4 [ RunTime:0.084952s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3646 ORDER BY `minOrder` ASC [ RunTime:0.036428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3646 ORDER BY `unit` DESC [ RunTime:0.031683s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3646 LIMIT 2 [ RunTime:0.071887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3646 ORDER BY `minOrder` ASC [ RunTime:0.032193s ]
select * from pdf where partno='MC0603B222M500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.027006s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603B222M500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.067858s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1017 LIMIT 4 [ RunTime:0.087676s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1017 ORDER BY `minOrder` ASC [ RunTime:0.157671s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1017 ORDER BY `unit` DESC [ RunTime:0.109562s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1017 LIMIT 2 [ RunTime:0.100128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1017 ORDER BY `minOrder` ASC [ RunTime:0.036623s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCC1C220J3AS6L-RH' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.091686s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4544 LIMIT 4 [ RunTime:0.058136s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4544 ORDER BY `minOrder` ASC [ RunTime:0.027648s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4544 ORDER BY `unit` DESC [ RunTime:0.050198s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4544 LIMIT 2 [ RunTime:0.279205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4544 ORDER BY `minOrder` ASC [ RunTime:0.001425s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1608X8R1H103K080AA.' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.129211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5596 LIMIT 4 [ RunTime:0.026792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5596 ORDER BY `minOrder` ASC [ RunTime:0.103691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5596 ORDER BY `unit` DESC [ RunTime:0.152129s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5596 LIMIT 2 [ RunTime:0.130237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5596 ORDER BY `minOrder` ASC [ RunTime:0.040510s ]
select * from pdf where partno='SA105A102JAR' and brandshort='KYOCERA AVX' limit 1 [ RunTime:0.063321s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SA105A102JAR' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.056351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 991 LIMIT 4 [ RunTime:0.054546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 991 ORDER BY `minOrder` ASC [ RunTime:0.061393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 991 ORDER BY `unit` DESC [ RunTime:0.106419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 991 LIMIT 2 [ RunTime:0.089340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 991 ORDER BY `minOrder` ASC [ RunTime:0.079541s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '125LD10-R' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.058395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4266 LIMIT 4 [ RunTime:0.051235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4266 ORDER BY `minOrder` ASC [ RunTime:0.140086s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4266 ORDER BY `unit` DESC [ RunTime:0.038135s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4266 LIMIT 2 [ RunTime:0.051207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4266 ORDER BY `minOrder` ASC [ RunTime:0.044083s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UVZ1A471MED1TD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.051235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3647 LIMIT 4 [ RunTime:0.130701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3647 ORDER BY `minOrder` ASC [ RunTime:0.004355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3647 ORDER BY `unit` DESC [ RunTime:0.054149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3647 LIMIT 2 [ RunTime:0.130748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3647 ORDER BY `minOrder` ASC [ RunTime:0.008888s ]
select * from pdf where partno='MC0603N101K500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.012076s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603N101K500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.036115s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3648 LIMIT 4 [ RunTime:0.020381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3648 ORDER BY `minOrder` ASC [ RunTime:0.023482s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3648 ORDER BY `unit` DESC [ RunTime:0.010706s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3648 LIMIT 2 [ RunTime:0.105457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3648 ORDER BY `minOrder` ASC [ RunTime:0.069982s ]
select * from pdf where partno='MC0603N150K500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.022114s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603N150K500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.013249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4244 LIMIT 4 [ RunTime:0.070292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4244 ORDER BY `minOrder` ASC [ RunTime:0.107050s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4244 ORDER BY `unit` DESC [ RunTime:0.052596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4244 LIMIT 2 [ RunTime:0.057191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4244 ORDER BY `minOrder` ASC [ RunTime:0.037592s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LGU2W471MELC' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.062848s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1530 LIMIT 4 [ RunTime:0.146659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1530 ORDER BY `minOrder` ASC [ RunTime:0.129220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1530 ORDER BY `unit` DESC [ RunTime:0.056291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1530 LIMIT 2 [ RunTime:0.156140s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1530 ORDER BY `minOrder` ASC [ RunTime:0.038042s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EKMG500ELL470MF11D' OR `brand` LIKE 'CHEMI-CON%' ) ) LIMIT 1 [ RunTime:0.084473s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 197 LIMIT 4 [ RunTime:0.161301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 197 ORDER BY `minOrder` ASC [ RunTime:0.142581s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 197 ORDER BY `unit` DESC [ RunTime:0.160388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 197 LIMIT 2 [ RunTime:0.167181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 197 ORDER BY `minOrder` ASC [ RunTime:0.016916s ]
select * from pdf where partno='UTG16AC' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.055248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTG16AC' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.051133s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4545 LIMIT 4 [ RunTime:0.047254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4545 ORDER BY `minOrder` ASC [ RunTime:0.081313s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4545 ORDER BY `unit` DESC [ RunTime:0.131846s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4545 LIMIT 2 [ RunTime:0.132990s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4545 ORDER BY `minOrder` ASC [ RunTime:0.046805s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1005X8R1H102K050BA.' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.055337s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4200 LIMIT 4 [ RunTime:0.071261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4200 ORDER BY `minOrder` ASC [ RunTime:0.016195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4200 ORDER BY `unit` DESC [ RunTime:0.031971s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4200 LIMIT 2 [ RunTime:0.153955s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4200 ORDER BY `minOrder` ASC [ RunTime:0.182822s ]
select * from pdf where partno='MCSMT-8540C-3716' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.033778s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCSMT-8540C-3716' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.061824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5624 LIMIT 4 [ RunTime:0.024217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5624 ORDER BY `minOrder` ASC [ RunTime:0.081756s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5624 ORDER BY `unit` DESC [ RunTime:0.065383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5624 LIMIT 2 [ RunTime:0.089646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5624 ORDER BY `minOrder` ASC [ RunTime:0.037542s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCKPX-G1205A-3700' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.069282s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 252 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.079749s ]