SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001557s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000479s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001634s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000223s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001180s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000228s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 420 LIMIT 1 [ RunTime:0.000298s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 420 [ RunTime:0.000185s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 40 [ RunTime:0.000184s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001265s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 420 ) [ RunTime:0.001636s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 420 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001953s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001083s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10875 LIMIT 4 [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.007588s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10875 ORDER BY `unit` DESC [ RunTime:0.008820s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003069s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10875 LIMIT 2 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.004995s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001064s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DPS368XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.007075s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10327 LIMIT 4 [ RunTime:0.002948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.004549s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10327 ORDER BY `unit` DESC [ RunTime:0.003268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10327 LIMIT 2 [ RunTime:0.002127s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.001661s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2010GST1' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002587s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5300 LIMIT 4 [ RunTime:0.000788s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.001570s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5300 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5300 LIMIT 2 [ RunTime:0.000467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV5050DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005041s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11590 LIMIT 4 [ RunTime:0.001215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.002978s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11590 ORDER BY `unit` DESC [ RunTime:0.010590s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11590 LIMIT 2 [ RunTime:0.008252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.003084s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MS583730BA01-50' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.023508s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2028 LIMIT 4 [ RunTime:0.002803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.008128s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2028 ORDER BY `unit` DESC [ RunTime:0.000448s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2028 LIMIT 2 [ RunTime:0.005798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2010GP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.003812s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2637 LIMIT 4 [ RunTime:0.001034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2637 ORDER BY `unit` DESC [ RunTime:0.000339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2637 LIMIT 2 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
select * from pdf where partno='MPXM2202AS' and brandshort='NXP' limit 1 [ RunTime:0.001461s ]
select foldpath,foldpath2,filename from pdf_file where id=1673763 limit 1 [ RunTime:0.003588s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2202AS' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.007260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5301 LIMIT 4 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5301 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5301 ORDER BY `unit` DESC [ RunTime:0.003947s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5301 LIMIT 2 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5301 ORDER BY `minOrder` ASC [ RunTime:0.000464s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV7002DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.006319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2636 LIMIT 4 [ RunTime:0.008350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636 ORDER BY `minOrder` ASC [ RunTime:0.004878s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2636 ORDER BY `unit` DESC [ RunTime:0.002346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2636 LIMIT 2 [ RunTime:0.003504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636 ORDER BY `minOrder` ASC [ RunTime:0.001899s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2010GS' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2635 LIMIT 4 [ RunTime:0.000416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635 ORDER BY `minOrder` ASC [ RunTime:0.003140s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2635 ORDER BY `unit` DESC [ RunTime:0.000783s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2635 LIMIT 2 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX5010DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5299 LIMIT 4 [ RunTime:0.001608s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5299 ORDER BY `minOrder` ASC [ RunTime:0.004606s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5299 ORDER BY `unit` DESC [ RunTime:0.000436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5299 LIMIT 2 [ RunTime:0.002441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5299 ORDER BY `minOrder` ASC [ RunTime:0.005658s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV5010DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2030 LIMIT 4 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2030 ORDER BY `minOrder` ASC [ RunTime:0.012335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2030 ORDER BY `unit` DESC [ RunTime:0.000839s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2030 LIMIT 2 [ RunTime:0.013201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2030 ORDER BY `minOrder` ASC [ RunTime:0.000507s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.009446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5539 LIMIT 4 [ RunTime:0.006240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5539 ORDER BY `minOrder` ASC [ RunTime:0.002466s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5539 ORDER BY `unit` DESC [ RunTime:0.002865s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5539 LIMIT 2 [ RunTime:0.001067s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5539 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2SMPP-02' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.007932s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16299 LIMIT 4 [ RunTime:0.000509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16299 ORDER BY `minOrder` ASC [ RunTime:0.004403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16299 ORDER BY `unit` DESC [ RunTime:0.005295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16299 LIMIT 2 [ RunTime:0.003410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16299 ORDER BY `minOrder` ASC [ RunTime:0.002206s ]
select * from pdf where partno='MPX4250AP' and brandshort='NXP' limit 1 [ RunTime:0.005683s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000481s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15279 LIMIT 4 [ RunTime:0.005353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15279 ORDER BY `minOrder` ASC [ RunTime:0.007566s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15279 ORDER BY `unit` DESC [ RunTime:0.000544s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15279 LIMIT 2 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15279 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
select * from pdf where partno='MPX4250AP' and brandshort='NXP' limit 1 [ RunTime:0.000421s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9181 LIMIT 4 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9181 ORDER BY `minOrder` ASC [ RunTime:0.009776s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9181 ORDER BY `unit` DESC [ RunTime:0.002578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9181 LIMIT 2 [ RunTime:0.001560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9181 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2200GP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.003084s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2029 LIMIT 4 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2029 ORDER BY `minOrder` ASC [ RunTime:0.000444s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2029 ORDER BY `unit` DESC [ RunTime:0.000432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2029 LIMIT 2 [ RunTime:0.012420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2029 ORDER BY `minOrder` ASC [ RunTime:0.009090s ]
select * from pdf where partno='MPX2200AP' and brandshort='NXP' limit 1 [ RunTime:0.002150s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2200AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002746s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13730 LIMIT 4 [ RunTime:0.004401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13730 ORDER BY `minOrder` ASC [ RunTime:0.001219s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13730 ORDER BY `unit` DESC [ RunTime:0.000610s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13730 LIMIT 2 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13730 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
select * from pdf where partno='24PCAFA6G' and brandshort='HONEYWELL' limit 1 [ RunTime:0.001369s ]
select foldpath,foldpath2,filename from pdf_file where id=1154501 limit 1 [ RunTime:0.002733s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24PCAFA6G' OR `brand` LIKE 'HONEYWELL%' ) ) LIMIT 1 [ RunTime:0.003340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12664 LIMIT 4 [ RunTime:0.000427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12664 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12664 LIMIT 2 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPS27HHTWTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000651s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12853 LIMIT 4 [ RunTime:0.013297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12853 ORDER BY `minOrder` ASC [ RunTime:0.001554s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12853 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12853 LIMIT 2 [ RunTime:0.002349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12853 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LCGD-500' OR `brand` LIKE 'OMEGA%' ) ) LIMIT 1 [ RunTime:0.003943s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11958 LIMIT 4 [ RunTime:0.000784s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11958 ORDER BY `minOrder` ASC [ RunTime:0.002221s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11958 ORDER BY `unit` DESC [ RunTime:0.000735s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11958 LIMIT 2 [ RunTime:0.001655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11958 ORDER BY `minOrder` ASC [ RunTime:0.005754s ]
select * from pdf where partno='2513254510291' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.004927s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2513254510291' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.001129s ]
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.001151s ]