SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002204s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000599s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002434s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000348s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002007s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000357s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 49 LIMIT 1 [ RunTime:0.000264s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000232s ]
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.000460s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002074s ]
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.000528s ]
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 0,20 [ RunTime:0.009555s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002065s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5354 LIMIT 4 [ RunTime:0.010811s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008028s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5354 ORDER BY `minOrder` ASC [ RunTime:0.003740s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.007312s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5354 ORDER BY `unit` DESC [ RunTime:0.003045s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001774s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5354 LIMIT 2 [ RunTime:0.005013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5354 ORDER BY `minOrder` ASC [ RunTime:0.007102s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002076s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431AIDBZR,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14707 LIMIT 4 [ RunTime:0.003495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14707 ORDER BY `minOrder` ASC [ RunTime:0.001308s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14707 ORDER BY `unit` DESC [ RunTime:0.000410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14707 LIMIT 2 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14707 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM317T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002895s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2251 LIMIT 4 [ RunTime:0.000417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2251 ORDER BY `minOrder` ASC [ RunTime:0.001724s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2251 ORDER BY `unit` DESC [ RunTime:0.002160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2251 LIMIT 2 [ RunTime:0.007131s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2251 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
select * from pdf where partno='LD1117S33CTR' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.002702s ]
select foldpath,foldpath2,filename from pdf_file where id=533327 limit 1 [ RunTime:0.000409s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LD1117S33CTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10287 LIMIT 4 [ RunTime:0.000601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10287 ORDER BY `minOrder` ASC [ RunTime:0.000635s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10287 ORDER BY `unit` DESC [ RunTime:0.003178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10287 LIMIT 2 [ RunTime:0.003798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10287 ORDER BY `minOrder` ASC [ RunTime:0.002021s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCP718ASN330T1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.013190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5208 LIMIT 4 [ RunTime:0.005070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5208 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5208 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5208 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5208 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000342s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4715 LIMIT 4 [ RunTime:0.000548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.001031s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4715 ORDER BY `unit` DESC [ RunTime:0.000496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4715 LIMIT 2 [ RunTime:0.009663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.001507s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '130014' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000748s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4719 LIMIT 4 [ RunTime:0.003070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.003515s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4719 ORDER BY `unit` DESC [ RunTime:0.009516s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4719 LIMIT 2 [ RunTime:0.005711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-350816-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5431 LIMIT 4 [ RunTime:0.000438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5431 ORDER BY `unit` DESC [ RunTime:0.000510s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5431 LIMIT 2 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.001965s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31886' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001003s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5852 LIMIT 4 [ RunTime:0.003351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5852 ORDER BY `minOrder` ASC [ RunTime:0.002798s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5852 ORDER BY `unit` DESC [ RunTime:0.001075s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5852 LIMIT 2 [ RunTime:0.003579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5852 ORDER BY `minOrder` ASC [ RunTime:0.003792s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L78M05CDT-TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4718 LIMIT 4 [ RunTime:0.003422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.000665s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4718 ORDER BY `unit` DESC [ RunTime:0.001344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4718 LIMIT 2 [ RunTime:0.000829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520083-2' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000947s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3548 LIMIT 4 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3548 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3548 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3548 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3548 ORDER BY `minOrder` ASC [ RunTime:0.005346s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A4403GEUTR-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.002687s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 841 LIMIT 4 [ RunTime:0.007026s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.002852s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 841 ORDER BY `unit` DESC [ RunTime:0.000268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 841 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='3101.0030' and brandshort='SCHURTER' limit 1 [ RunTime:0.000410s ]
select foldpath,foldpath2,filename from pdf_file where id=761500 limit 1 [ RunTime:0.000228s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0030' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7891 LIMIT 4 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7891 ORDER BY `minOrder` ASC [ RunTime:0.002318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7891 ORDER BY `unit` DESC [ RunTime:0.004935s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7891 LIMIT 2 [ RunTime:0.002281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7891 ORDER BY `minOrder` ASC [ RunTime:0.002991s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC5504-3.3YM5-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008873s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3696 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.002339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3696 ORDER BY `unit` DESC [ RunTime:0.002922s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3696 LIMIT 2 [ RunTime:0.001921s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB5202/3' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.001694s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2841 LIMIT 4 [ RunTime:0.001586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2841 ORDER BY `minOrder` ASC [ RunTime:0.000457s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2841 ORDER BY `unit` DESC [ RunTime:0.001114s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2841 LIMIT 2 [ RunTime:0.002833s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2841 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TC2117-3.3VDBTR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.010049s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4716 LIMIT 4 [ RunTime:0.002126s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.000514s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4716 ORDER BY `unit` DESC [ RunTime:0.000349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4716 LIMIT 2 [ RunTime:0.000998s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.001411s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217080-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000722s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14710 LIMIT 4 [ RunTime:0.001229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14710 ORDER BY `minOrder` ASC [ RunTime:0.000959s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14710 ORDER BY `unit` DESC [ RunTime:0.000557s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14710 LIMIT 2 [ RunTime:0.000838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14710 ORDER BY `minOrder` ASC [ RunTime:0.002739s ]
select * from pdf where partno='L7824CV' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.002905s ]
select foldpath,foldpath2,filename from pdf_file where id=375849 limit 1 [ RunTime:0.000955s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L7824CV' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7677 LIMIT 4 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7677 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7677 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7677 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7677 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='TLE42744DV50ATMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.000318s ]
select foldpath,foldpath2,filename from pdf_file where id=1472930 limit 1 [ RunTime:0.000274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE42744DV50ATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5357 LIMIT 4 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5357 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5357 ORDER BY `unit` DESC [ RunTime:0.002253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5357 LIMIT 2 [ RunTime:0.006435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5357 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431BQDBZR,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003430s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4987 LIMIT 4 [ RunTime:0.002735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4987 ORDER BY `minOrder` ASC [ RunTime:0.008296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4987 ORDER BY `unit` DESC [ RunTime:0.001481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4987 LIMIT 2 [ RunTime:0.006159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4987 ORDER BY `minOrder` ASC [ RunTime:0.004077s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCV4274ADT50RKG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008401s ]
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.002595s ]