SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002217s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000500s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002083s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000340s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001760s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000275s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 432 LIMIT 1 [ RunTime:0.000338s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 432 [ RunTime:0.000219s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 40 [ RunTime:0.000217s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002424s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 432 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005485s ]
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 IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('6873','9623','5217','9184','12367','5706','9910','1628','8063','2840','4613','9182','2696','5707','10110','16758','16647','16614','15739','15628') ORDER BY FIELD(s.id, 6873,9623,5217,9184,12367,5706,9910,1628,8063,2840,4613,9182,2696,5707,10110,16758,16647,16614,15739,15628) [ RunTime:0.006093s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002740s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6873 LIMIT 4 [ RunTime:0.000562s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001651s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.003847s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001777s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6873 ORDER BY `unit` DESC [ RunTime:0.002815s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001684s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6873 LIMIT 2 [ RunTime:0.000580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BDP,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.006462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9623 LIMIT 4 [ RunTime:0.003178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.000887s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9623 ORDER BY `unit` DESC [ RunTime:0.000891s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9623 LIMIT 2 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BD,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004589s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5217 LIMIT 4 [ RunTime:0.002483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.004615s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5217 ORDER BY `unit` DESC [ RunTime:0.000631s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5217 LIMIT 2 [ RunTime:0.002045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.000469s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KTY81/210,112' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005976s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9184 LIMIT 4 [ RunTime:0.005929s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.000830s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9184 ORDER BY `unit` DESC [ RunTime:0.000516s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9184 LIMIT 2 [ RunTime:0.000642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.001848s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SE97BTP,547' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.008930s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12367 LIMIT 4 [ RunTime:0.003848s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12367 ORDER BY `minOrder` ASC [ RunTime:0.001579s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12367 ORDER BY `unit` DESC [ RunTime:0.000993s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12367 LIMIT 2 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12367 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX31826MUA+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.001130s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5706 LIMIT 4 [ RunTime:0.001919s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5706 ORDER BY `minOrder` ASC [ RunTime:0.006999s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5706 ORDER BY `unit` DESC [ RunTime:0.001789s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5706 LIMIT 2 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5706 ORDER BY `minOrder` ASC [ RunTime:0.000552s ]
select * from pdf where partno='TSIC 306 TO92' and brandshort='IST INNOVATIVE SENSOR TECHNOLOGY' limit 1 [ RunTime:0.001701s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSIC 306 TO92' OR `brand` LIKE 'IST INNOVATIVE SENSOR TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.003759s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9910 LIMIT 4 [ RunTime:0.002116s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9910 ORDER BY `minOrder` ASC [ RunTime:0.001388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9910 ORDER BY `unit` DESC [ RunTime:0.000912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9910 LIMIT 2 [ RunTime:0.000796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9910 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT31-DIS-P2.5KS' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.002025s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1628 LIMIT 4 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1628 ORDER BY `minOrder` ASC [ RunTime:0.000552s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1628 ORDER BY `unit` DESC [ RunTime:0.001408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1628 LIMIT 2 [ RunTime:0.001221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1628 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP9700A-E/TO' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.011844s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8063 LIMIT 4 [ RunTime:0.001814s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8063 ORDER BY `minOrder` ASC [ RunTime:0.001078s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8063 ORDER BY `unit` DESC [ RunTime:0.000552s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8063 LIMIT 2 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8063 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX6576ZUT+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000845s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2840 LIMIT 4 [ RunTime:0.004760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2840 ORDER BY `minOrder` ASC [ RunTime:0.000592s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2840 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2840 LIMIT 2 [ RunTime:0.000494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2840 ORDER BY `minOrder` ASC [ RunTime:0.001380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP9700AT-E/TT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.009757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4613 LIMIT 4 [ RunTime:0.000751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4613 ORDER BY `minOrder` ASC [ RunTime:0.000805s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4613 ORDER BY `unit` DESC [ RunTime:0.001897s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4613 LIMIT 2 [ RunTime:0.007291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4613 ORDER BY `minOrder` ASC [ RunTime:0.003004s ]
select * from pdf where partno='SHT21' and brandshort='SENSIRION' limit 1 [ RunTime:0.005587s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT21' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.001816s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9182 LIMIT 4 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9182 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9182 ORDER BY `unit` DESC [ RunTime:0.000415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9182 LIMIT 2 [ RunTime:0.001488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9182 ORDER BY `minOrder` ASC [ RunTime:0.001541s ]
select * from pdf where partno='KTY82/210,215' and brandshort='NXP' limit 1 [ RunTime:0.008346s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KTY82/210,215' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002890s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2696 LIMIT 4 [ RunTime:0.000416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2696 ORDER BY `minOrder` ASC [ RunTime:0.002180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2696 ORDER BY `unit` DESC [ RunTime:0.002028s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2696 LIMIT 2 [ RunTime:0.000642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2696 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM335AZ' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001099s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5707 LIMIT 4 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5707 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5707 ORDER BY `unit` DESC [ RunTime:0.000379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5707 LIMIT 2 [ RunTime:0.001157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5707 ORDER BY `minOrder` ASC [ RunTime:0.000601s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P0K1.202.3FW.A.007' OR `brand` LIKE 'IST INNOVATIVE SENSOR TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000924s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10110 LIMIT 4 [ RunTime:0.011346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10110 ORDER BY `minOrder` ASC [ RunTime:0.004011s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10110 ORDER BY `unit` DESC [ RunTime:0.003649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10110 LIMIT 2 [ RunTime:0.004496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10110 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX31865AAP+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000915s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16758 LIMIT 4 [ RunTime:0.000559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16758 ORDER BY `minOrder` ASC [ RunTime:0.007829s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16758 ORDER BY `unit` DESC [ RunTime:0.003262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16758 LIMIT 2 [ RunTime:0.002211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16758 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='MAX6576ZUT+T' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.004549s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX6576ZUT+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.001009s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16647 LIMIT 4 [ RunTime:0.013137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16647 ORDER BY `minOrder` ASC [ RunTime:0.010915s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16647 ORDER BY `unit` DESC [ RunTime:0.000655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16647 LIMIT 2 [ RunTime:0.000597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16647 ORDER BY `minOrder` ASC [ RunTime:0.007241s ]
select * from pdf where partno='SHT21' and brandshort='SENSIRION' limit 1 [ RunTime:0.000454s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT21' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.000476s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16614 LIMIT 4 [ RunTime:0.002392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16614 ORDER BY `minOrder` ASC [ RunTime:0.000712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16614 ORDER BY `unit` DESC [ RunTime:0.000618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16614 LIMIT 2 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16614 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
select * from pdf where partno='TSIC 506F TO92' and brandshort='IST INNOVATIVE SENSOR TECHNOLOGY' limit 1 [ RunTime:0.001500s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSIC 506F TO92' OR `brand` LIKE 'IST INNOVATIVE SENSOR TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.002623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15739 LIMIT 4 [ RunTime:0.006154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15739 ORDER BY `minOrder` ASC [ RunTime:0.004964s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15739 ORDER BY `unit` DESC [ RunTime:0.009231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15739 LIMIT 2 [ RunTime:0.001984s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15739 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
select * from pdf where partno='MAX6576ZUT+T' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000568s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX6576ZUT+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000399s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15628 LIMIT 4 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15628 ORDER BY `minOrder` ASC [ RunTime:0.001612s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15628 ORDER BY `unit` DESC [ RunTime:0.004084s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15628 LIMIT 2 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15628 ORDER BY `minOrder` ASC [ RunTime:0.000750s ]
select * from pdf where partno='SHT21' and brandshort='SENSIRION' limit 1 [ RunTime:0.001478s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHT21' OR `brand` LIKE 'SENSIRION%' ) ) LIMIT 1 [ RunTime:0.000400s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 432 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.007866s ]