SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002083s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000577s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002599s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000339s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001778s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000268s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 420 LIMIT 1 [ RunTime:0.003180s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 420 [ RunTime:0.000222s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 40 [ RunTime:0.003504s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001939s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 420 ) AND `u`.`lockUser` = '0' [ RunTime:0.000995s ]
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` = 420 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002277s ]
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 ('10875','10327','5300','11590','2028','2637','5301','2636','2635','5299','2030','5539','16299','15279','9181','2029','13730','12664','12853','11958') ORDER BY FIELD(s.id, 10875,10327,5300,11590,2028,2637,5301,2636,2635,5299,2030,5539,16299,15279,9181,2029,13730,12664,12853,11958) [ RunTime:0.001849s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002964s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10875 LIMIT 4 [ RunTime:0.001310s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.000608s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10875 ORDER BY `unit` DESC [ RunTime:0.002735s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001996s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10875 LIMIT 2 [ RunTime:0.000484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.005223s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002011s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DPS368XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10327 LIMIT 4 [ RunTime:0.000417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.002663s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10327 ORDER BY `unit` DESC [ RunTime:0.002971s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10327 LIMIT 2 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2010GST1' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004769s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5300 LIMIT 4 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.005514s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5300 ORDER BY `unit` DESC [ RunTime:0.000963s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5300 LIMIT 2 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV5050DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005045s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11590 LIMIT 4 [ RunTime:0.001530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.001329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11590 ORDER BY `unit` DESC [ RunTime:0.000509s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11590 LIMIT 2 [ RunTime:0.000573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MS583730BA01-50' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.022000s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2028 LIMIT 4 [ RunTime:0.000431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2028 ORDER BY `unit` DESC [ RunTime:0.000420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2028 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2010GP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2637 LIMIT 4 [ RunTime:0.002796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.004475s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2637 ORDER BY `unit` DESC [ RunTime:0.000628s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2637 LIMIT 2 [ RunTime:0.000582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
select * from pdf where partno='MPXM2202AS' and brandshort='NXP' limit 1 [ RunTime:0.004234s ]
select foldpath,foldpath2,filename from pdf_file where id=1673763 limit 1 [ RunTime:0.001233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2202AS' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005213s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5301 LIMIT 4 [ RunTime:0.002069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5301 ORDER BY `minOrder` ASC [ RunTime:0.002635s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5301 ORDER BY `unit` DESC [ RunTime:0.008176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5301 LIMIT 2 [ RunTime:0.002017s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5301 ORDER BY `minOrder` ASC [ RunTime:0.001081s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV7002DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.007334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2636 LIMIT 4 [ RunTime:0.003596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636 ORDER BY `minOrder` ASC [ RunTime:0.000629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2636 ORDER BY `unit` DESC [ RunTime:0.001370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2636 LIMIT 2 [ RunTime:0.007757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636 ORDER BY `minOrder` ASC [ RunTime:0.003056s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2010GS' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005634s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2635 LIMIT 4 [ RunTime:0.000586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635 ORDER BY `minOrder` ASC [ RunTime:0.000686s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2635 ORDER BY `unit` DESC [ RunTime:0.002504s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2635 LIMIT 2 [ RunTime:0.009415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635 ORDER BY `minOrder` ASC [ RunTime:0.004783s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX5010DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005634s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5299 LIMIT 4 [ RunTime:0.003086s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5299 ORDER BY `minOrder` ASC [ RunTime:0.001846s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5299 ORDER BY `unit` DESC [ RunTime:0.003122s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5299 LIMIT 2 [ RunTime:0.001556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5299 ORDER BY `minOrder` ASC [ RunTime:0.004128s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV5010DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.006532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2030 LIMIT 4 [ RunTime:0.000691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2030 ORDER BY `minOrder` ASC [ RunTime:0.006703s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2030 ORDER BY `unit` DESC [ RunTime:0.003122s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2030 LIMIT 2 [ RunTime:0.000601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2030 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.007175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5539 LIMIT 4 [ RunTime:0.005440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5539 ORDER BY `minOrder` ASC [ RunTime:0.001141s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5539 ORDER BY `unit` DESC [ RunTime:0.000591s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5539 LIMIT 2 [ RunTime:0.002704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5539 ORDER BY `minOrder` ASC [ RunTime:0.001939s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2SMPP-02' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.012372s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16299 LIMIT 4 [ RunTime:0.016505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16299 ORDER BY `minOrder` ASC [ RunTime:0.005394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16299 ORDER BY `unit` DESC [ RunTime:0.005490s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16299 LIMIT 2 [ RunTime:0.012864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16299 ORDER BY `minOrder` ASC [ RunTime:0.000477s ]
select * from pdf where partno='MPX4250AP' and brandshort='NXP' limit 1 [ RunTime:0.006365s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002342s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15279 LIMIT 4 [ RunTime:0.001295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15279 ORDER BY `minOrder` ASC [ RunTime:0.007585s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15279 ORDER BY `unit` DESC [ RunTime:0.002922s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15279 LIMIT 2 [ RunTime:0.008034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15279 ORDER BY `minOrder` ASC [ RunTime:0.005702s ]
select * from pdf where partno='MPX4250AP' and brandshort='NXP' limit 1 [ RunTime:0.000446s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000485s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9181 LIMIT 4 [ RunTime:0.000601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9181 ORDER BY `minOrder` ASC [ RunTime:0.002372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9181 ORDER BY `unit` DESC [ RunTime:0.001380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9181 LIMIT 2 [ RunTime:0.003996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9181 ORDER BY `minOrder` ASC [ RunTime:0.000434s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2200GP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.007063s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2029 LIMIT 4 [ RunTime:0.002418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2029 ORDER BY `minOrder` ASC [ RunTime:0.000640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2029 ORDER BY `unit` DESC [ RunTime:0.006578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2029 LIMIT 2 [ RunTime:0.002809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2029 ORDER BY `minOrder` ASC [ RunTime:0.002426s ]
select * from pdf where partno='MPX2200AP' and brandshort='NXP' limit 1 [ RunTime:0.002207s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2200AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.013944s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13730 LIMIT 4 [ RunTime:0.001105s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13730 ORDER BY `minOrder` ASC [ RunTime:0.001402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13730 ORDER BY `unit` DESC [ RunTime:0.002594s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13730 LIMIT 2 [ RunTime:0.004928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13730 ORDER BY `minOrder` ASC [ RunTime:0.000935s ]
select * from pdf where partno='24PCAFA6G' and brandshort='HONEYWELL' limit 1 [ RunTime:0.003064s ]
select foldpath,foldpath2,filename from pdf_file where id=1154501 limit 1 [ RunTime:0.001665s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24PCAFA6G' OR `brand` LIKE 'HONEYWELL%' ) ) LIMIT 1 [ RunTime:0.007004s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12664 LIMIT 4 [ RunTime:0.006677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664 ORDER BY `minOrder` ASC [ RunTime:0.000535s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12664 ORDER BY `unit` DESC [ RunTime:0.006222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12664 LIMIT 2 [ RunTime:0.000538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPS27HHTWTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12853 LIMIT 4 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12853 ORDER BY `minOrder` ASC [ RunTime:0.000739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12853 ORDER BY `unit` DESC [ RunTime:0.004922s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12853 LIMIT 2 [ RunTime:0.002203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12853 ORDER BY `minOrder` ASC [ RunTime:0.001114s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LCGD-500' OR `brand` LIKE 'OMEGA%' ) ) LIMIT 1 [ RunTime:0.000733s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11958 LIMIT 4 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11958 ORDER BY `minOrder` ASC [ RunTime:0.004540s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11958 ORDER BY `unit` DESC [ RunTime:0.001433s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11958 LIMIT 2 [ RunTime:0.002470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11958 ORDER BY `minOrder` ASC [ RunTime:0.003561s ]
select * from pdf where partno='2513254510291' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.002089s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2513254510291' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.004576s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 420 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001008s ]