SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.000910s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000368s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001109s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000214s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000877s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000199s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 420 LIMIT 1 [ RunTime:0.000191s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 420 [ RunTime:0.000146s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 40 [ RunTime:0.000149s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001033s ]
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.000527s ]
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.000542s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10875 LIMIT 4 [ RunTime:0.000323s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000791s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10875 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000778s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10875 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000816s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DPS368XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10327 LIMIT 4 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10327 ORDER BY `unit` DESC [ RunTime:0.000235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10327 LIMIT 2 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2010GST1' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5300 LIMIT 4 [ RunTime:0.002078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5300 ORDER BY `unit` DESC [ RunTime:0.000269s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5300 LIMIT 2 [ RunTime:0.000674s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV5050DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.001972s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11590 LIMIT 4 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11590 ORDER BY `unit` DESC [ RunTime:0.000225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11590 LIMIT 2 [ RunTime:0.000967s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MS583730BA01-50' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.008813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2028 LIMIT 4 [ RunTime:0.000234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.001407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2028 ORDER BY `unit` DESC [ RunTime:0.001591s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2028 LIMIT 2 [ RunTime:0.004814s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2010GP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2637 LIMIT 4 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2637 ORDER BY `unit` DESC [ RunTime:0.002029s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2637 LIMIT 2 [ RunTime:0.001864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.001191s ]
select * from pdf where partno='MPXM2202AS' and brandshort='NXP' limit 1 [ RunTime:0.002287s ]
select foldpath,foldpath2,filename from pdf_file where id=1673763 limit 1 [ RunTime:0.001840s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2202AS' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5301 LIMIT 4 [ RunTime:0.003470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5301 ORDER BY `minOrder` ASC [ RunTime:0.007943s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5301 ORDER BY `unit` DESC [ RunTime:0.002768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5301 LIMIT 2 [ RunTime:0.000682s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5301 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV7002DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005372s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2636 LIMIT 4 [ RunTime:0.004079s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636 ORDER BY `minOrder` ASC [ RunTime:0.000544s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2636 ORDER BY `unit` DESC [ RunTime:0.002816s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2636 LIMIT 2 [ RunTime:0.005012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2010GS' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.003776s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2635 LIMIT 4 [ RunTime:0.000769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635 ORDER BY `minOrder` ASC [ RunTime:0.000506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2635 ORDER BY `unit` DESC [ RunTime:0.000474s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2635 LIMIT 2 [ RunTime:0.002325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX5010DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005558s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5299 LIMIT 4 [ RunTime:0.000925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5299 ORDER BY `minOrder` ASC [ RunTime:0.000738s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5299 ORDER BY `unit` DESC [ RunTime:0.001595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5299 LIMIT 2 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5299 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV5010DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2030 LIMIT 4 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2030 ORDER BY `minOrder` ASC [ RunTime:0.001655s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2030 ORDER BY `unit` DESC [ RunTime:0.002070s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2030 LIMIT 2 [ RunTime:0.000832s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2030 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004677s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5539 LIMIT 4 [ RunTime:0.001618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5539 ORDER BY `minOrder` ASC [ RunTime:0.003080s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5539 ORDER BY `unit` DESC [ RunTime:0.001350s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5539 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5539 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2SMPP-02' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.004360s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16299 LIMIT 4 [ RunTime:0.000638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16299 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16299 ORDER BY `unit` DESC [ RunTime:0.000229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16299 LIMIT 2 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16299 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
select * from pdf where partno='MPX4250AP' and brandshort='NXP' limit 1 [ RunTime:0.001104s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000529s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15279 LIMIT 4 [ RunTime:0.000449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15279 ORDER BY `minOrder` ASC [ RunTime:0.001732s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15279 ORDER BY `unit` DESC [ RunTime:0.000716s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15279 LIMIT 2 [ RunTime:0.000686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15279 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='MPX4250AP' and brandshort='NXP' limit 1 [ RunTime:0.000210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000240s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9181 LIMIT 4 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9181 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9181 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9181 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9181 ORDER BY `minOrder` ASC [ RunTime:0.006983s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2200GP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.008139s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2029 LIMIT 4 [ RunTime:0.000512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2029 ORDER BY `minOrder` ASC [ RunTime:0.008228s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2029 ORDER BY `unit` DESC [ RunTime:0.006748s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2029 LIMIT 2 [ RunTime:0.000731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2029 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
select * from pdf where partno='MPX2200AP' and brandshort='NXP' limit 1 [ RunTime:0.001518s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2200AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.006354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13730 LIMIT 4 [ RunTime:0.005890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13730 ORDER BY `minOrder` ASC [ RunTime:0.000446s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13730 ORDER BY `unit` DESC [ RunTime:0.000422s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13730 LIMIT 2 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13730 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
select * from pdf where partno='24PCAFA6G' and brandshort='HONEYWELL' limit 1 [ RunTime:0.001688s ]
select foldpath,foldpath2,filename from pdf_file where id=1154501 limit 1 [ RunTime:0.002980s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24PCAFA6G' OR `brand` LIKE 'HONEYWELL%' ) ) LIMIT 1 [ RunTime:0.003960s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12664 LIMIT 4 [ RunTime:0.007319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664 ORDER BY `minOrder` ASC [ RunTime:0.003492s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12664 ORDER BY `unit` DESC [ RunTime:0.005206s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12664 LIMIT 2 [ RunTime:0.004413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664 ORDER BY `minOrder` ASC [ RunTime:0.002787s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPS27HHTWTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003710s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12853 LIMIT 4 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12853 ORDER BY `minOrder` ASC [ RunTime:0.003088s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12853 ORDER BY `unit` DESC [ RunTime:0.003236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12853 LIMIT 2 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12853 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LCGD-500' OR `brand` LIKE 'OMEGA%' ) ) LIMIT 1 [ RunTime:0.000903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11958 LIMIT 4 [ RunTime:0.000273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11958 ORDER BY `minOrder` ASC [ RunTime:0.005142s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11958 ORDER BY `unit` DESC [ RunTime:0.004410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11958 LIMIT 2 [ RunTime:0.000711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11958 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
select * from pdf where partno='2513254510291' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.001129s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2513254510291' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000725s ]
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.003282s ]