SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002865s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.005885s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002505s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.94' ) [ RunTime:0.008477s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002221s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000370s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 420 LIMIT 1 [ RunTime:0.004544s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 420 [ RunTime:0.000782s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 40 [ RunTime:0.004555s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003777s ]
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.004977s ]
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.013594s ]
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.011117s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002589s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10875 LIMIT 4 [ RunTime:0.001772s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.011795s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001628s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10875 ORDER BY `unit` DESC [ RunTime:0.004784s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10875 LIMIT 2 [ RunTime:0.001630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.000702s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001033s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DPS368XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011106s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10327 LIMIT 4 [ RunTime:0.017211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.012709s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10327 ORDER BY `unit` DESC [ RunTime:0.007235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10327 LIMIT 2 [ RunTime:0.004192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.000517s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2010GST1' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.022813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5300 LIMIT 4 [ RunTime:0.010047s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.002117s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5300 ORDER BY `unit` DESC [ RunTime:0.042305s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5300 LIMIT 2 [ RunTime:0.035973s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.018772s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV5050DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.014092s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11590 LIMIT 4 [ RunTime:0.044881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.025908s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11590 ORDER BY `unit` DESC [ RunTime:0.021618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11590 LIMIT 2 [ RunTime:0.016058s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.027998s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MS583730BA01-50' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.030993s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2028 LIMIT 4 [ RunTime:0.027582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.043112s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2028 ORDER BY `unit` DESC [ RunTime:0.007526s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2028 LIMIT 2 [ RunTime:0.032556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.012272s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2010GP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.032726s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2637 LIMIT 4 [ RunTime:0.000709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.006228s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2637 ORDER BY `unit` DESC [ RunTime:0.008121s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2637 LIMIT 2 [ RunTime:0.004280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.000472s ]
select * from pdf where partno='MPXM2202AS' and brandshort='NXP' limit 1 [ RunTime:0.007165s ]
select foldpath,foldpath2,filename from pdf_file where id=1673763 limit 1 [ RunTime:0.002956s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2202AS' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.012961s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5301 LIMIT 4 [ RunTime:0.002980s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5301 ORDER BY `minOrder` ASC [ RunTime:0.007244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5301 ORDER BY `unit` DESC [ RunTime:0.002378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5301 LIMIT 2 [ RunTime:0.000987s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5301 ORDER BY `minOrder` ASC [ RunTime:0.003470s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV7002DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005917s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2636 LIMIT 4 [ RunTime:0.005893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636 ORDER BY `minOrder` ASC [ RunTime:0.000522s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2636 ORDER BY `unit` DESC [ RunTime:0.002420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2636 LIMIT 2 [ RunTime:0.000456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636 ORDER BY `minOrder` ASC [ RunTime:0.001188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2010GS' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002639s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2635 LIMIT 4 [ RunTime:0.003618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635 ORDER BY `minOrder` ASC [ RunTime:0.002580s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2635 ORDER BY `unit` DESC [ RunTime:0.001362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2635 LIMIT 2 [ RunTime:0.001330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635 ORDER BY `minOrder` ASC [ RunTime:0.001529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX5010DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.015389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5299 LIMIT 4 [ RunTime:0.011386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5299 ORDER BY `minOrder` ASC [ RunTime:0.004852s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5299 ORDER BY `unit` DESC [ RunTime:0.002599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5299 LIMIT 2 [ RunTime:0.003656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5299 ORDER BY `minOrder` ASC [ RunTime:0.001094s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV5010DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.009510s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2030 LIMIT 4 [ RunTime:0.000817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2030 ORDER BY `minOrder` ASC [ RunTime:0.001309s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2030 ORDER BY `unit` DESC [ RunTime:0.000780s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2030 LIMIT 2 [ RunTime:0.000606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2030 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.014361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5539 LIMIT 4 [ RunTime:0.003297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5539 ORDER BY `minOrder` ASC [ RunTime:0.007714s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5539 ORDER BY `unit` DESC [ RunTime:0.003296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5539 LIMIT 2 [ RunTime:0.028559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5539 ORDER BY `minOrder` ASC [ RunTime:0.014595s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2SMPP-02' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.022127s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16299 LIMIT 4 [ RunTime:0.013277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16299 ORDER BY `minOrder` ASC [ RunTime:0.024786s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16299 ORDER BY `unit` DESC [ RunTime:0.005512s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16299 LIMIT 2 [ RunTime:0.011165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16299 ORDER BY `minOrder` ASC [ RunTime:0.002491s ]
select * from pdf where partno='MPX4250AP' and brandshort='NXP' limit 1 [ RunTime:0.001921s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15279 LIMIT 4 [ RunTime:0.000774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15279 ORDER BY `minOrder` ASC [ RunTime:0.012396s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15279 ORDER BY `unit` DESC [ RunTime:0.015626s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15279 LIMIT 2 [ RunTime:0.010589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15279 ORDER BY `minOrder` ASC [ RunTime:0.004707s ]
select * from pdf where partno='MPX4250AP' and brandshort='NXP' limit 1 [ RunTime:0.003170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002488s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9181 LIMIT 4 [ RunTime:0.003871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9181 ORDER BY `minOrder` ASC [ RunTime:0.011937s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9181 ORDER BY `unit` DESC [ RunTime:0.002977s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9181 LIMIT 2 [ RunTime:0.002244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9181 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2200GP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.013112s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2029 LIMIT 4 [ RunTime:0.012634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2029 ORDER BY `minOrder` ASC [ RunTime:0.013156s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2029 ORDER BY `unit` DESC [ RunTime:0.009151s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2029 LIMIT 2 [ RunTime:0.001260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2029 ORDER BY `minOrder` ASC [ RunTime:0.000460s ]
select * from pdf where partno='MPX2200AP' and brandshort='NXP' limit 1 [ RunTime:0.003912s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2200AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005620s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13730 LIMIT 4 [ RunTime:0.006782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13730 ORDER BY `minOrder` ASC [ RunTime:0.012576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13730 ORDER BY `unit` DESC [ RunTime:0.010768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13730 LIMIT 2 [ RunTime:0.002587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13730 ORDER BY `minOrder` ASC [ RunTime:0.001673s ]
select * from pdf where partno='24PCAFA6G' and brandshort='HONEYWELL' limit 1 [ RunTime:0.004453s ]
select foldpath,foldpath2,filename from pdf_file where id=1154501 limit 1 [ RunTime:0.005400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24PCAFA6G' OR `brand` LIKE 'HONEYWELL%' ) ) LIMIT 1 [ RunTime:0.008749s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12664 LIMIT 4 [ RunTime:0.000492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664 ORDER BY `minOrder` ASC [ RunTime:0.009456s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12664 ORDER BY `unit` DESC [ RunTime:0.006025s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12664 LIMIT 2 [ RunTime:0.003159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664 ORDER BY `minOrder` ASC [ RunTime:0.000362s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPS27HHTWTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001592s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12853 LIMIT 4 [ RunTime:0.003560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12853 ORDER BY `minOrder` ASC [ RunTime:0.001421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12853 ORDER BY `unit` DESC [ RunTime:0.006197s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12853 LIMIT 2 [ RunTime:0.002625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12853 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LCGD-500' OR `brand` LIKE 'OMEGA%' ) ) LIMIT 1 [ RunTime:0.000767s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11958 LIMIT 4 [ RunTime:0.000424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11958 ORDER BY `minOrder` ASC [ RunTime:0.001203s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11958 ORDER BY `unit` DESC [ RunTime:0.005406s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11958 LIMIT 2 [ RunTime:0.007969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11958 ORDER BY `minOrder` ASC [ RunTime:0.014474s ]
select * from pdf where partno='2513254510291' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.010439s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2513254510291' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.001918s ]
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.005120s ]