SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002361s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000608s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001786s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000406s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002113s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000336s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 252 LIMIT 1 [ RunTime:0.000362s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 252 [ RunTime:0.000547s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000413s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001233s ]
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.000993s ]
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.001988s ]
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.005666s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001030s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6711 LIMIT 4 [ RunTime:0.001266s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.005069s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002047s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6711 ORDER BY `unit` DESC [ RunTime:0.002414s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6711 LIMIT 2 [ RunTime:0.001967s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.000422s ]
select * from pdf where partno='EMK105B7104KV-F' and brandshort='TAIYO YUDEN' limit 1 [ RunTime:0.001889s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002211s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EMK105B7104KV-F' OR `brand` LIKE 'TAIYO YUDEN%' ) ) LIMIT 1 [ RunTime:0.003112s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13442 LIMIT 4 [ RunTime:0.003998s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13442 ORDER BY `minOrder` ASC [ RunTime:0.002174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13442 ORDER BY `unit` DESC [ RunTime:0.002001s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13442 LIMIT 2 [ RunTime:0.001655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13442 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12063C103KAT2A' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.006428s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5685 LIMIT 4 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5685 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5685 ORDER BY `unit` DESC [ RunTime:0.001129s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5685 LIMIT 2 [ RunTime:0.002772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5685 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
select * from pdf where partno='C1608X7R1H104K' and brandshort='TDK' limit 1 [ RunTime:0.003748s ]
select foldpath,foldpath2,filename from pdf_file where id=1113786 limit 1 [ RunTime:0.000633s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1608X7R1H104K' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.004777s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5860 LIMIT 4 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5860 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5860 ORDER BY `unit` DESC [ RunTime:0.001248s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5860 LIMIT 2 [ RunTime:0.005615s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5860 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
select * from pdf where partno='175196-2' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001641s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '175196-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002806s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6641 LIMIT 4 [ RunTime:0.005902s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6641 ORDER BY `unit` DESC [ RunTime:0.000158s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6641 LIMIT 2 [ RunTime:0.000155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
select * from pdf where partno='C1005X7R1E104M050BB' and brandshort='TDK' limit 1 [ RunTime:0.000228s ]
select foldpath,foldpath2,filename from pdf_file where id=1917795 limit 1 [ RunTime:0.000150s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1005X7R1E104M050BB' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.000171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7372 LIMIT 4 [ RunTime:0.001591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7372 ORDER BY `minOrder` ASC [ RunTime:0.002584s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7372 ORDER BY `unit` DESC [ RunTime:0.005438s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7372 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7372 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
select * from pdf where partno='175362-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001352s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '175362-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003198s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3646 LIMIT 4 [ RunTime:0.004878s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3646 ORDER BY `minOrder` ASC [ RunTime:0.003121s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3646 ORDER BY `unit` DESC [ RunTime:0.002361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3646 LIMIT 2 [ RunTime:0.004601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3646 ORDER BY `minOrder` ASC [ RunTime:0.001650s ]
select * from pdf where partno='MC0603B222M500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.005197s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603B222M500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.003045s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1017 LIMIT 4 [ RunTime:0.000562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1017 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1017 ORDER BY `unit` DESC [ RunTime:0.000250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1017 LIMIT 2 [ RunTime:0.002063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1017 ORDER BY `minOrder` ASC [ RunTime:0.001370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCC1C220J3AS6L-RH' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4544 LIMIT 4 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4544 ORDER BY `minOrder` ASC [ RunTime:0.004785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4544 ORDER BY `unit` DESC [ RunTime:0.002321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4544 LIMIT 2 [ RunTime:0.003259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4544 ORDER BY `minOrder` ASC [ RunTime:0.001714s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1608X8R1H103K080AA.' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.012816s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5596 LIMIT 4 [ RunTime:0.002262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5596 ORDER BY `minOrder` ASC [ RunTime:0.002058s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5596 ORDER BY `unit` DESC [ RunTime:0.001722s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5596 LIMIT 2 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5596 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
select * from pdf where partno='SA105A102JAR' and brandshort='KYOCERA AVX' limit 1 [ RunTime:0.002255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SA105A102JAR' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.007758s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 991 LIMIT 4 [ RunTime:0.003849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 991 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 991 ORDER BY `unit` DESC [ RunTime:0.000237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 991 LIMIT 2 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 991 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '125LD10-R' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4266 LIMIT 4 [ RunTime:0.002296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4266 ORDER BY `minOrder` ASC [ RunTime:0.001958s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4266 ORDER BY `unit` DESC [ RunTime:0.001669s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4266 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4266 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UVZ1A471MED1TD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.001452s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3647 LIMIT 4 [ RunTime:0.001765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3647 ORDER BY `minOrder` ASC [ RunTime:0.004455s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3647 ORDER BY `unit` DESC [ RunTime:0.002300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3647 LIMIT 2 [ RunTime:0.001752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3647 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
select * from pdf where partno='MC0603N101K500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.002424s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603N101K500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000695s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3648 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3648 ORDER BY `minOrder` ASC [ RunTime:0.001503s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3648 ORDER BY `unit` DESC [ RunTime:0.002709s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3648 LIMIT 2 [ RunTime:0.002411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3648 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
select * from pdf where partno='MC0603N150K500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.002972s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603N150K500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000572s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4244 LIMIT 4 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4244 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4244 ORDER BY `unit` DESC [ RunTime:0.001176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4244 LIMIT 2 [ RunTime:0.002838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4244 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LGU2W471MELC' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.003589s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1530 LIMIT 4 [ RunTime:0.001950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1530 ORDER BY `minOrder` ASC [ RunTime:0.001852s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1530 ORDER BY `unit` DESC [ RunTime:0.001520s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1530 LIMIT 2 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1530 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EKMG500ELL470MF11D' OR `brand` LIKE 'CHEMI-CON%' ) ) LIMIT 1 [ RunTime:0.001090s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 197 LIMIT 4 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 197 ORDER BY `minOrder` ASC [ RunTime:0.001636s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 197 ORDER BY `unit` DESC [ RunTime:0.003505s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 197 LIMIT 2 [ RunTime:0.002332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 197 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='UTG16AC' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.003461s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTG16AC' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000864s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4545 LIMIT 4 [ RunTime:0.000416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4545 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4545 ORDER BY `unit` DESC [ RunTime:0.001487s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4545 LIMIT 2 [ RunTime:0.003157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4545 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1005X8R1H102K050BA.' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.009878s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4200 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4200 ORDER BY `minOrder` ASC [ RunTime:0.001898s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4200 ORDER BY `unit` DESC [ RunTime:0.000234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4200 LIMIT 2 [ RunTime:0.000207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4200 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
select * from pdf where partno='MCSMT-8540C-3716' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000364s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCSMT-8540C-3716' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5624 LIMIT 4 [ RunTime:0.001790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5624 ORDER BY `minOrder` ASC [ RunTime:0.001548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5624 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5624 LIMIT 2 [ RunTime:0.000439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5624 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCKPX-G1205A-3700' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000495s ]
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.002502s ]