SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001765s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000490s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001911s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000302s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002197s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000299s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000232s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000214s ]
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.000512s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001874s ]
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.001119s ]
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 180,20 [ RunTime:0.010814s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005710s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10316 LIMIT 4 [ RunTime:0.000511s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10316 ORDER BY `minOrder` ASC [ RunTime:0.001191s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001703s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10316 ORDER BY `unit` DESC [ RunTime:0.000416s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10316 LIMIT 2 [ RunTime:0.007161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10316 ORDER BY `minOrder` ASC [ RunTime:0.001030s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001999s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '51163-0400' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.011777s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5239 LIMIT 4 [ RunTime:0.002239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5239 ORDER BY `minOrder` ASC [ RunTime:0.005505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5239 ORDER BY `unit` DESC [ RunTime:0.002121s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5239 LIMIT 2 [ RunTime:0.002063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5239 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AFBR-4526Z' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.004622s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3247 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3247 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3247 ORDER BY `unit` DESC [ RunTime:0.001941s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3247 LIMIT 2 [ RunTime:0.002149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3247 ORDER BY `minOrder` ASC [ RunTime:0.005307s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-09-1032' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.007525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2556 LIMIT 4 [ RunTime:0.007058s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2556 ORDER BY `minOrder` ASC [ RunTime:0.000702s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2556 ORDER BY `unit` DESC [ RunTime:0.000496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2556 LIMIT 2 [ RunTime:0.000764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2556 ORDER BY `minOrder` ASC [ RunTime:0.000705s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2121' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 467 LIMIT 4 [ RunTime:0.005488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 467 ORDER BY `minOrder` ASC [ RunTime:0.001289s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 467 ORDER BY `unit` DESC [ RunTime:0.004380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 467 LIMIT 2 [ RunTime:0.003024s ]
SELECT * FROM `stock_price` WHERE `stockid` = 467 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-640441-4' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000760s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 444 LIMIT 4 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 444 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 444 ORDER BY `unit` DESC [ RunTime:0.002335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 444 LIMIT 2 [ RunTime:0.002871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 444 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
select * from pdf where partno='3-640440-5.' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.004333s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-640440-5.' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002614s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12983 LIMIT 4 [ RunTime:0.009047s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12983 ORDER BY `minOrder` ASC [ RunTime:0.000939s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12983 ORDER BY `unit` DESC [ RunTime:0.000607s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12983 LIMIT 2 [ RunTime:0.000591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12983 ORDER BY `minOrder` ASC [ RunTime:0.004799s ]
select * from pdf where partno='62GB-12E10-06PN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.001999s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E10-06PN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.005000s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7348 LIMIT 4 [ RunTime:0.008579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7348 ORDER BY `minOrder` ASC [ RunTime:0.001056s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7348 ORDER BY `unit` DESC [ RunTime:0.003818s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7348 LIMIT 2 [ RunTime:0.002892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7348 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DF62B-13EP-2.2C' OR `brand` LIKE 'HIROSE(HRS)%' ) ) LIMIT 1 [ RunTime:0.011806s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13680 LIMIT 4 [ RunTime:0.002061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13680 ORDER BY `minOrder` ASC [ RunTime:0.001285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13680 ORDER BY `unit` DESC [ RunTime:0.000778s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13680 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13680 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
select * from pdf where partno='43020-0600' and brandshort='MOLEX' limit 1 [ RunTime:0.001414s ]
select foldpath,foldpath2,filename from pdf_file where id=827932 limit 1 [ RunTime:0.005443s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43020-0600' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.011564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10598 LIMIT 4 [ RunTime:0.004580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10598 ORDER BY `minOrder` ASC [ RunTime:0.005824s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10598 ORDER BY `unit` DESC [ RunTime:0.010113s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10598 LIMIT 2 [ RunTime:0.008123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10598 ORDER BY `minOrder` ASC [ RunTime:0.006805s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87439-0900' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.016976s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12989 LIMIT 4 [ RunTime:0.007658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12989 ORDER BY `minOrder` ASC [ RunTime:0.004308s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12989 ORDER BY `unit` DESC [ RunTime:0.016626s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12989 LIMIT 2 [ RunTime:0.018031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12989 ORDER BY `minOrder` ASC [ RunTime:0.016322s ]
select * from pdf where partno='62GB-56T10-06PN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.013834s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-56T10-06PN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.004928s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2535 LIMIT 4 [ RunTime:0.023218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2535 ORDER BY `minOrder` ASC [ RunTime:0.008659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2535 ORDER BY `unit` DESC [ RunTime:0.004778s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2535 LIMIT 2 [ RunTime:0.004719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2535 ORDER BY `minOrder` ASC [ RunTime:0.003173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XHP-8' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.013623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3407 LIMIT 4 [ RunTime:0.002957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3407 ORDER BY `minOrder` ASC [ RunTime:0.000943s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3407 ORDER BY `unit` DESC [ RunTime:0.000790s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3407 LIMIT 2 [ RunTime:0.017678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3407 ORDER BY `minOrder` ASC [ RunTime:0.005238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHR-10V-S-B' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.011037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10595 LIMIT 4 [ RunTime:0.007753s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10595 ORDER BY `minOrder` ASC [ RunTime:0.012148s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10595 ORDER BY `unit` DESC [ RunTime:0.003348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10595 LIMIT 2 [ RunTime:0.006597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10595 ORDER BY `minOrder` ASC [ RunTime:0.000483s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '34729-0082' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.013733s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4369 LIMIT 4 [ RunTime:0.000694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4369 ORDER BY `minOrder` ASC [ RunTime:0.002866s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4369 ORDER BY `unit` DESC [ RunTime:0.001671s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4369 LIMIT 2 [ RunTime:0.000762s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4369 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PHDR-12VS' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.002697s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3849 LIMIT 4 [ RunTime:0.003900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3849 ORDER BY `minOrder` ASC [ RunTime:0.004013s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3849 ORDER BY `unit` DESC [ RunTime:0.001531s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3849 LIMIT 2 [ RunTime:0.016017s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3849 ORDER BY `minOrder` ASC [ RunTime:0.000492s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-3083' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.008841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12982 LIMIT 4 [ RunTime:0.015474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12982 ORDER BY `minOrder` ASC [ RunTime:0.001010s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12982 ORDER BY `unit` DESC [ RunTime:0.000449s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12982 LIMIT 2 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12982 ORDER BY `minOrder` ASC [ RunTime:0.000468s ]
select * from pdf where partno='62GB-12E08-33SN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.006374s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E08-33SN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.013627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3530 LIMIT 4 [ RunTime:0.000753s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3530 ORDER BY `minOrder` ASC [ RunTime:0.000575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3530 ORDER BY `unit` DESC [ RunTime:0.001733s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3530 LIMIT 2 [ RunTime:0.001231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3530 ORDER BY `minOrder` ASC [ RunTime:0.002281s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2026' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.007035s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5161 LIMIT 4 [ RunTime:0.003318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5161 ORDER BY `minOrder` ASC [ RunTime:0.000537s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5161 ORDER BY `unit` DESC [ RunTime:0.002652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5161 LIMIT 2 [ RunTime:0.011447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5161 ORDER BY `minOrder` ASC [ RunTime:0.004098s ]
select * from pdf where partno='50-84-1030' and brandshort='MOLEX' limit 1 [ RunTime:0.001895s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '50-84-1030' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005619s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9272 LIMIT 4 [ RunTime:0.002766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9272 ORDER BY `minOrder` ASC [ RunTime:0.002719s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9272 ORDER BY `unit` DESC [ RunTime:0.000571s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9272 LIMIT 2 [ RunTime:0.000771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9272 ORDER BY `minOrder` ASC [ RunTime:0.000884s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '46992-1010' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005225s ]
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.000727s ]