SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001321s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000477s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001136s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000240s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001593s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000224s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 49 LIMIT 1 [ RunTime:0.000246s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000195s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001174s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) ) [ RunTime:0.000356s ]
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` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 300,20 [ RunTime:0.008046s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002017s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9691 LIMIT 4 [ RunTime:0.003737s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9691 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001821s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9691 ORDER BY `unit` DESC [ RunTime:0.000261s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001871s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9691 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9691 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001732s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2450AT42E010BE' OR `brand` LIKE 'JOHANSON TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.004102s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7890 LIMIT 4 [ RunTime:0.001588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7890 ORDER BY `minOrder` ASC [ RunTime:0.001988s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7890 ORDER BY `unit` DESC [ RunTime:0.001171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7890 LIMIT 2 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7890 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC5236-5.0YMM' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.009544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7887 LIMIT 4 [ RunTime:0.006534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7887 ORDER BY `minOrder` ASC [ RunTime:0.002815s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7887 ORDER BY `unit` DESC [ RunTime:0.005519s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7887 LIMIT 2 [ RunTime:0.000901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7887 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC37102YM' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4726 LIMIT 4 [ RunTime:0.000648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4726 ORDER BY `minOrder` ASC [ RunTime:0.000601s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4726 ORDER BY `unit` DESC [ RunTime:0.003538s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4726 LIMIT 2 [ RunTime:0.002903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4726 ORDER BY `minOrder` ASC [ RunTime:0.004957s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP1700-1202E/TO' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019723s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4594 LIMIT 4 [ RunTime:0.002862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4594 ORDER BY `minOrder` ASC [ RunTime:0.001384s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4594 ORDER BY `unit` DESC [ RunTime:0.004363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4594 LIMIT 2 [ RunTime:0.003437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4594 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP73843-420I/MS' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008743s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4146 LIMIT 4 [ RunTime:0.002322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4146 ORDER BY `minOrder` ASC [ RunTime:0.001393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4146 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4146 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4146 ORDER BY `minOrder` ASC [ RunTime:0.004679s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4DB-P108-10' OR `brand` LIKE 'BUCHANAN - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003553s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2837 LIMIT 4 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2837 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2837 ORDER BY `unit` DESC [ RunTime:0.001697s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2837 LIMIT 2 [ RunTime:0.001264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2837 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP1701AT-5002I/MB' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019001s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2752 LIMIT 4 [ RunTime:0.002162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2752 ORDER BY `minOrder` ASC [ RunTime:0.002273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2752 ORDER BY `unit` DESC [ RunTime:0.001215s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2752 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2752 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP1801T-3002I/OT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.010450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14469 LIMIT 4 [ RunTime:0.000951s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14469 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14469 ORDER BY `unit` DESC [ RunTime:0.000307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14469 LIMIT 2 [ RunTime:0.000271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14469 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCTA050/25' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000771s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10495 LIMIT 4 [ RunTime:0.003024s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10495 ORDER BY `minOrder` ASC [ RunTime:0.004300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10495 ORDER BY `unit` DESC [ RunTime:0.000308s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10495 LIMIT 2 [ RunTime:0.002816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10495 ORDER BY `minOrder` ASC [ RunTime:0.002003s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX77860EWG+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.002342s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9667 LIMIT 4 [ RunTime:0.002623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9667 ORDER BY `minOrder` ASC [ RunTime:0.000722s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9667 ORDER BY `unit` DESC [ RunTime:0.004000s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9667 LIMIT 2 [ RunTime:0.003137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9667 ORDER BY `minOrder` ASC [ RunTime:0.001395s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC7824CD2TR4G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2580 LIMIT 4 [ RunTime:0.003542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2580 ORDER BY `minOrder` ASC [ RunTime:0.001347s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2580 ORDER BY `unit` DESC [ RunTime:0.003522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2580 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2580 ORDER BY `minOrder` ASC [ RunTime:0.001557s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L7812CV' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11678 LIMIT 4 [ RunTime:0.000443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11678 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11678 ORDER BY `unit` DESC [ RunTime:0.004136s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11678 LIMIT 2 [ RunTime:0.005469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11678 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B78416A2386A003' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.001135s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7527 LIMIT 4 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7527 ORDER BY `minOrder` ASC [ RunTime:0.002454s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7527 ORDER BY `unit` DESC [ RunTime:0.001081s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7527 LIMIT 2 [ RunTime:0.002380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7527 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC78M12ABDTRKG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006579s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13236 LIMIT 4 [ RunTime:0.001675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13236 ORDER BY `minOrder` ASC [ RunTime:0.002232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13236 ORDER BY `unit` DESC [ RunTime:0.001815s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13236 LIMIT 2 [ RunTime:0.000773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13236 ORDER BY `minOrder` ASC [ RunTime:0.001259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LTC3779EFE#PBF' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000702s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13202 LIMIT 4 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13202 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13202 ORDER BY `unit` DESC [ RunTime:0.001265s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13202 LIMIT 2 [ RunTime:0.007888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13202 ORDER BY `minOrder` ASC [ RunTime:0.000211s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LTC3026EMSE#TRPBF' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.002784s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13190 LIMIT 4 [ RunTime:0.004119s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13190 ORDER BY `minOrder` ASC [ RunTime:0.001116s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13190 ORDER BY `unit` DESC [ RunTime:0.002398s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13190 LIMIT 2 [ RunTime:0.001435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13190 ORDER BY `minOrder` ASC [ RunTime:0.002120s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADP161AUJZ-R7' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.003077s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12780 LIMIT 4 [ RunTime:0.001282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12780 ORDER BY `minOrder` ASC [ RunTime:0.001909s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12780 ORDER BY `unit` DESC [ RunTime:0.000536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12780 LIMIT 2 [ RunTime:0.000442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12780 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SM91519L-E' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.002127s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11664 LIMIT 4 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11664 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11664 ORDER BY `unit` DESC [ RunTime:0.001471s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11664 LIMIT 2 [ RunTime:0.002271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11664 ORDER BY `minOrder` ASC [ RunTime:0.001260s ]
select * from pdf where partno='BGSA402ML10E6327XTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.001105s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGSA402ML10E6327XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005892s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10789 LIMIT 4 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10789 ORDER BY `minOrder` ASC [ RunTime:0.000483s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10789 ORDER BY `unit` DESC [ RunTime:0.000407s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10789 LIMIT 2 [ RunTime:0.002548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10789 ORDER BY `minOrder` ASC [ RunTime:0.005430s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP000357' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000931s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000568s ]