SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001817s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000495s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002230s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001707s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000283s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000419s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000272s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) [ RunTime:0.001072s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002702s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) [ RunTime:0.000649s ]
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 (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 540,20 [ RunTime:0.014380s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001950s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7350 LIMIT 4 [ RunTime:0.000451s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7350 ORDER BY `minOrder` ASC [ RunTime:0.000442s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7350 ORDER BY `unit` DESC [ RunTime:0.000440s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7350 LIMIT 2 [ RunTime:0.000829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7350 ORDER BY `minOrder` ASC [ RunTime:0.002470s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001940s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DF62B-4EP-2.2C' OR `brand` LIKE 'HIROSE(HRS)%' ) ) LIMIT 1 [ RunTime:0.004961s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4247 LIMIT 4 [ RunTime:0.004995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4247 ORDER BY `minOrder` ASC [ RunTime:0.000439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4247 ORDER BY `unit` DESC [ RunTime:0.001055s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4247 LIMIT 2 [ RunTime:0.001085s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4247 ORDER BY `minOrder` ASC [ RunTime:0.003283s ]
select * from pdf where partno='UPW1V471MPD1TD' and brandshort='NICHICON' limit 1 [ RunTime:0.004805s ]
select foldpath,foldpath2,filename from pdf_file where id=1485468 limit 1 [ RunTime:0.000353s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UPW1V471MPD1TD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.003154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12971 LIMIT 4 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12971 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12971 ORDER BY `unit` DESC [ RunTime:0.000393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12971 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12971 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
select * from pdf where partno='1812GC472KAT1A' and brandshort='KYOCERA AVX' limit 1 [ RunTime:0.000402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1812GC472KAT1A' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11604 LIMIT 4 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11604 ORDER BY `minOrder` ASC [ RunTime:0.000505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11604 ORDER BY `unit` DESC [ RunTime:0.001530s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11604 LIMIT 2 [ RunTime:0.009606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11604 ORDER BY `minOrder` ASC [ RunTime:0.000529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-917337-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000933s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4148 LIMIT 4 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4148 ORDER BY `minOrder` ASC [ RunTime:0.000509s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4148 ORDER BY `unit` DESC [ RunTime:0.000512s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4148 LIMIT 2 [ RunTime:0.002114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4148 ORDER BY `minOrder` ASC [ RunTime:0.003228s ]
select * from pdf where partno='1C20X7R104K050B' and brandshort='VISHAY' limit 1 [ RunTime:0.001748s ]
select foldpath,foldpath2,filename from pdf_file where id=1329796 limit 1 [ RunTime:0.000591s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1C20X7R104K050B' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.007197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10926 LIMIT 4 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10926 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10926 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10926 LIMIT 2 [ RunTime:0.003413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10926 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '776286-2' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.024142s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 445 LIMIT 4 [ RunTime:0.001744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 445 ORDER BY `minOrder` ASC [ RunTime:0.001116s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 445 ORDER BY `unit` DESC [ RunTime:0.000716s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 445 LIMIT 2 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 445 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4-640440-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000897s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10332 LIMIT 4 [ RunTime:0.000485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10332 ORDER BY `minOrder` ASC [ RunTime:0.003186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10332 ORDER BY `unit` DESC [ RunTime:0.004467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10332 LIMIT 2 [ RunTime:0.000587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10332 ORDER BY `minOrder` ASC [ RunTime:0.001560s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'JR16WRA-10P(31)' OR `brand` LIKE 'HIROSE(HRS)%' ) ) LIMIT 1 [ RunTime:0.001228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4019 LIMIT 4 [ RunTime:0.002036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4019 ORDER BY `minOrder` ASC [ RunTime:0.003708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4019 ORDER BY `unit` DESC [ RunTime:0.001926s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4019 LIMIT 2 [ RunTime:0.005966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4019 ORDER BY `minOrder` ASC [ RunTime:0.002826s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '207018-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3273 LIMIT 4 [ RunTime:0.001539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3273 ORDER BY `minOrder` ASC [ RunTime:0.004147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3273 ORDER BY `unit` DESC [ RunTime:0.001169s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3273 LIMIT 2 [ RunTime:0.000865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3273 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '770849-5' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000649s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9923 LIMIT 4 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9923 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9923 ORDER BY `unit` DESC [ RunTime:0.000371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9923 LIMIT 2 [ RunTime:0.001862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9923 ORDER BY `minOrder` ASC [ RunTime:0.004194s ]
select * from pdf where partno='12110250' and brandshort='APTIV / DELPHI' limit 1 [ RunTime:0.001750s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12110250' OR `brand` LIKE 'APTIV / DELPHI%' ) ) LIMIT 1 [ RunTime:0.003217s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8364 LIMIT 4 [ RunTime:0.001468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8364 ORDER BY `minOrder` ASC [ RunTime:0.001771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8364 ORDER BY `unit` DESC [ RunTime:0.000644s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8364 LIMIT 2 [ RunTime:0.000505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8364 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5916-BK' OR `brand` LIKE 'ANDERSON POWER PRODUCTS%' ) ) LIMIT 1 [ RunTime:0.000945s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7790 LIMIT 4 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7790 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7790 ORDER BY `unit` DESC [ RunTime:0.000321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7790 LIMIT 2 [ RunTime:0.001642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7790 ORDER BY `minOrder` ASC [ RunTime:0.000619s ]
select * from pdf where partno='9774040243R' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.001125s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9774040243R' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.002490s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7733 LIMIT 4 [ RunTime:0.001192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7733 ORDER BY `minOrder` ASC [ RunTime:0.003635s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7733 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7733 LIMIT 2 [ RunTime:0.001152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7733 ORDER BY `minOrder` ASC [ RunTime:0.000836s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FGG.1T.307.CLAC65' OR `brand` LIKE 'LEMO%' ) ) LIMIT 1 [ RunTime:0.002186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4275 LIMIT 4 [ RunTime:0.004517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4275 ORDER BY `minOrder` ASC [ RunTime:0.001156s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4275 ORDER BY `unit` DESC [ RunTime:0.000787s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4275 LIMIT 2 [ RunTime:0.000481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4275 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
select * from pdf where partno='UHE1H220MDD1TD' and brandshort='NICHICON' limit 1 [ RunTime:0.001347s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UHE1H220MDD1TD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.002916s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1184 LIMIT 4 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1184 ORDER BY `minOrder` ASC [ RunTime:0.006962s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1184 ORDER BY `unit` DESC [ RunTime:0.003192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1184 LIMIT 2 [ RunTime:0.000335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1184 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '09 67 037 5601' OR `brand` LIKE 'HARTING%' ) ) LIMIT 1 [ RunTime:0.000890s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13474 LIMIT 4 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13474 ORDER BY `minOrder` ASC [ RunTime:0.001943s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13474 ORDER BY `unit` DESC [ RunTime:0.007031s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13474 LIMIT 2 [ RunTime:0.004912s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13474 ORDER BY `minOrder` ASC [ RunTime:0.001699s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '536603006' OR `brand` LIKE 'JAEGER%' ) ) LIMIT 1 [ RunTime:0.009895s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13273 LIMIT 4 [ RunTime:0.002318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13273 ORDER BY `minOrder` ASC [ RunTime:0.002586s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13273 ORDER BY `unit` DESC [ RunTime:0.000646s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13273 LIMIT 2 [ RunTime:0.001854s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13273 ORDER BY `minOrder` ASC [ RunTime:0.001479s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPL.0S.303.HLN' OR `brand` LIKE 'LEMO%' ) ) LIMIT 1 [ RunTime:0.000791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13044 LIMIT 4 [ RunTime:0.003307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13044 ORDER BY `minOrder` ASC [ RunTime:0.002005s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13044 ORDER BY `unit` DESC [ RunTime:0.002881s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13044 LIMIT 2 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13044 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MHRJ458P8CR' OR `brand` LIKE 'MH CONNECTORS%' ) ) LIMIT 1 [ RunTime:0.001073s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12950 LIMIT 4 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12950 ORDER BY `minOrder` ASC [ RunTime:0.002594s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12950 ORDER BY `unit` DESC [ RunTime:0.003822s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12950 LIMIT 2 [ RunTime:0.002277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12950 ORDER BY `minOrder` ASC [ RunTime:0.002138s ]
select * from pdf where partno='DFR0065' and brandshort='DFROBOT' limit 1 [ RunTime:0.001427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DFR0065' OR `brand` LIKE 'DFROBOT%' ) ) LIMIT 1 [ RunTime:0.003134s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001218s ]