SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001641s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002281s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001238s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.001032s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001090s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000238s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 621 LIMIT 1 [ RunTime:0.000198s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 621 [ RunTime:0.000165s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000186s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001284s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 621 ) AND `u`.`lockUser` = '0' [ RunTime:0.001757s ]
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` = 621 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002793s ]
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 ('10080','923','705','15218','15113','12595','704','3384','10079','3466','8769','9744','11679','14469','11678','12780','6684','703','12870','706') ORDER BY FIELD(s.id, 10080,923,705,15218,15113,12595,704,3384,10079,3466,8769,9744,11679,14469,11678,12780,6684,703,12870,706) [ RunTime:0.008085s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10080 LIMIT 4 [ RunTime:0.001654s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002059s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10080 ORDER BY `minOrder` ASC [ RunTime:0.000641s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001626s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10080 ORDER BY `unit` DESC [ RunTime:0.002557s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000886s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10080 LIMIT 2 [ RunTime:0.002146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10080 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000922s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '760390014' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.002356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 923 LIMIT 4 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 923 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 923 ORDER BY `unit` DESC [ RunTime:0.000310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 923 LIMIT 2 [ RunTime:0.001642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 923 ORDER BY `minOrder` ASC [ RunTime:0.003728s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OEP8000' OR `brand` LIKE 'OEP (OXFORD ELECTRICAL PRODUCTS)%' ) ) LIMIT 1 [ RunTime:0.009532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 705 LIMIT 4 [ RunTime:0.005542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 705 ORDER BY `minOrder` ASC [ RunTime:0.001108s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 705 ORDER BY `unit` DESC [ RunTime:0.001273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 705 LIMIT 2 [ RunTime:0.001107s ]
SELECT * FROM `stock_price` WHERE `stockid` = 705 ORDER BY `minOrder` ASC [ RunTime:0.000731s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FL2/12' OR `brand` LIKE 'BLOCK%' ) ) LIMIT 1 [ RunTime:0.000809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15218 LIMIT 4 [ RunTime:0.002045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15218 ORDER BY `minOrder` ASC [ RunTime:0.001711s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15218 ORDER BY `unit` DESC [ RunTime:0.000248s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15218 LIMIT 2 [ RunTime:0.001193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15218 ORDER BY `minOrder` ASC [ RunTime:0.001857s ]
select * from pdf where partno='OEP8000' and brandshort='OEP OXFORD ELECTRICAL PRODUCTS' limit 1 [ RunTime:0.002625s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OEP8000' OR `brand` LIKE 'OEP (OXFORD ELECTRICAL PRODUCTS)%' ) ) LIMIT 1 [ RunTime:0.000423s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15113 LIMIT 4 [ RunTime:0.001731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15113 ORDER BY `minOrder` ASC [ RunTime:0.002956s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15113 ORDER BY `unit` DESC [ RunTime:0.000497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15113 LIMIT 2 [ RunTime:0.000638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15113 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
select * from pdf where partno='OEP8000' and brandshort='OEP OXFORD ELECTRICAL PRODUCTS' limit 1 [ RunTime:0.000345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OEP8000' OR `brand` LIKE 'OEP (OXFORD ELECTRICAL PRODUCTS)%' ) ) LIMIT 1 [ RunTime:0.000264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12595 LIMIT 4 [ RunTime:0.002109s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12595 ORDER BY `minOrder` ASC [ RunTime:0.001943s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12595 ORDER BY `unit` DESC [ RunTime:0.002621s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12595 LIMIT 2 [ RunTime:0.004347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12595 ORDER BY `minOrder` ASC [ RunTime:0.000501s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HHM1732B1' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.008267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 704 LIMIT 4 [ RunTime:0.017699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 704 ORDER BY `minOrder` ASC [ RunTime:0.009448s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 704 ORDER BY `unit` DESC [ RunTime:0.008914s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 704 LIMIT 2 [ RunTime:0.003505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 704 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P3356' OR `brand` LIKE 'ETAL%' ) ) LIMIT 1 [ RunTime:0.003036s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3384 LIMIT 4 [ RunTime:0.000530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3384 ORDER BY `minOrder` ASC [ RunTime:0.030336s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3384 ORDER BY `unit` DESC [ RunTime:0.015905s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3384 LIMIT 2 [ RunTime:0.011487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3384 ORDER BY `minOrder` ASC [ RunTime:0.009706s ]
select * from pdf where partno='VTX-110-006' and brandshort='VIGORTRONIX' limit 1 [ RunTime:0.006453s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VTX-110-006' OR `brand` LIKE 'VIGORTRONIX%' ) ) LIMIT 1 [ RunTime:0.005355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10079 LIMIT 4 [ RunTime:0.008258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10079 ORDER BY `minOrder` ASC [ RunTime:0.000733s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10079 ORDER BY `unit` DESC [ RunTime:0.000317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10079 LIMIT 2 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10079 ORDER BY `minOrder` ASC [ RunTime:0.001387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '760390013' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.005532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3466 LIMIT 4 [ RunTime:0.001377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3466 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3466 ORDER BY `unit` DESC [ RunTime:0.001118s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3466 LIMIT 2 [ RunTime:0.005769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3466 ORDER BY `minOrder` ASC [ RunTime:0.001217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '44230' OR `brand` LIKE 'MYRRA%' ) ) LIMIT 1 [ RunTime:0.002069s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8769 LIMIT 4 [ RunTime:0.000878s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8769 ORDER BY `minOrder` ASC [ RunTime:0.000642s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8769 ORDER BY `unit` DESC [ RunTime:0.000317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8769 LIMIT 2 [ RunTime:0.001434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8769 ORDER BY `minOrder` ASC [ RunTime:0.003644s ]
select * from pdf where partno='7490220123' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.004916s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '7490220123' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.006112s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9744 LIMIT 4 [ RunTime:0.000640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9744 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9744 ORDER BY `unit` DESC [ RunTime:0.003301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9744 LIMIT 2 [ RunTime:0.001351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9744 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IT313' OR `brand` LIKE 'SCHAFFNER%' ) ) LIMIT 1 [ RunTime:0.002013s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11679 LIMIT 4 [ RunTime:0.005134s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11679 ORDER BY `minOrder` ASC [ RunTime:0.001634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11679 ORDER BY `unit` DESC [ RunTime:0.002397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11679 LIMIT 2 [ RunTime:0.002852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11679 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ALT4532P-181-T05G' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.008322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14469 LIMIT 4 [ RunTime:0.000438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14469 ORDER BY `minOrder` ASC [ RunTime:0.000889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14469 ORDER BY `unit` DESC [ RunTime:0.000781s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14469 LIMIT 2 [ RunTime:0.003387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14469 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCTA050/25' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001240s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11678 LIMIT 4 [ RunTime:0.010008s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11678 ORDER BY `minOrder` ASC [ RunTime:0.001646s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11678 ORDER BY `unit` DESC [ RunTime:0.000943s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11678 LIMIT 2 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11678 ORDER BY `minOrder` ASC [ RunTime:0.000454s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B78416A2386A003' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.001312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12780 LIMIT 4 [ RunTime:0.001683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12780 ORDER BY `minOrder` ASC [ RunTime:0.015755s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12780 ORDER BY `unit` DESC [ RunTime:0.008125s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12780 LIMIT 2 [ RunTime:0.002615s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12780 ORDER BY `minOrder` ASC [ RunTime:0.007091s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SM91519L-E' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.004594s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6684 LIMIT 4 [ RunTime:0.002234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6684 ORDER BY `minOrder` ASC [ RunTime:0.001684s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6684 ORDER BY `unit` DESC [ RunTime:0.000616s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6684 LIMIT 2 [ RunTime:0.007829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6684 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
select * from pdf where partno='LPR4012-202LMLB' and brandshort='COILCRAFT' limit 1 [ RunTime:0.001711s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPR4012-202LMLB' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.001210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 703 LIMIT 4 [ RunTime:0.006554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 703 ORDER BY `minOrder` ASC [ RunTime:0.001532s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 703 ORDER BY `unit` DESC [ RunTime:0.002803s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 703 LIMIT 2 [ RunTime:0.000331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 703 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P1200' OR `brand` LIKE 'ETAL%' ) ) LIMIT 1 [ RunTime:0.000780s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12870 LIMIT 4 [ RunTime:0.001402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12870 ORDER BY `minOrder` ASC [ RunTime:0.000959s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12870 ORDER BY `unit` DESC [ RunTime:0.003886s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12870 LIMIT 2 [ RunTime:0.005701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12870 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
select * from pdf where partno='B66387G1500X187' and brandshort='EPCOS' limit 1 [ RunTime:0.009301s ]
select foldpath,foldpath2,filename from pdf_file where id=1122529 limit 1 [ RunTime:0.007731s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B66387G1500X187' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.016373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 706 LIMIT 4 [ RunTime:0.001905s ]
SELECT * FROM `stock_price` WHERE `stockid` = 706 ORDER BY `minOrder` ASC [ RunTime:0.000573s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 706 ORDER BY `unit` DESC [ RunTime:0.000652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 706 LIMIT 2 [ RunTime:0.008872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 706 ORDER BY `minOrder` ASC [ RunTime:0.000905s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FL4/9' OR `brand` LIKE 'BLOCK%' ) ) LIMIT 1 [ RunTime:0.007821s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 621 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001558s ]