SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002092s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000482s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001738s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000305s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001687s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000598s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 35 LIMIT 1 [ RunTime:0.003114s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 35 [ RunTime:0.000461s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (364,365,366,367,368,369) [ RunTime:0.000243s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001317s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (364,365,366,367,368,369) ) [ RunTime:0.000267s ]
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 (364,365,366,367,368,369) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004790s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3641 LIMIT 4 [ RunTime:0.004802s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3641 ORDER BY `minOrder` ASC [ RunTime:0.000494s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3641 ORDER BY `unit` DESC [ RunTime:0.000849s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010954s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3641 LIMIT 2 [ RunTime:0.004940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3641 ORDER BY `minOrder` ASC [ RunTime:0.002964s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002207s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1510-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.004621s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10835 LIMIT 4 [ RunTime:0.004445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10835 ORDER BY `minOrder` ASC [ RunTime:0.008923s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10835 ORDER BY `unit` DESC [ RunTime:0.000628s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10835 LIMIT 2 [ RunTime:0.001457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10835 ORDER BY `minOrder` ASC [ RunTime:0.004978s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VN330SPTR-E' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003639s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3643 LIMIT 4 [ RunTime:0.004588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3643 ORDER BY `minOrder` ASC [ RunTime:0.001712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3643 ORDER BY `unit` DESC [ RunTime:0.001259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3643 LIMIT 2 [ RunTime:0.001093s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3643 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
select * from pdf where partno='ASSR-3210-003E' and brandshort='BROADCOM' limit 1 [ RunTime:0.001776s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-3210-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.005013s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1126 LIMIT 4 [ RunTime:0.001807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1126 ORDER BY `minOrder` ASC [ RunTime:0.000846s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1126 ORDER BY `unit` DESC [ RunTime:0.000453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1126 LIMIT 2 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1126 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='CX240D5' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.001378s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CX240D5' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.002620s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1125 LIMIT 4 [ RunTime:0.000476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1125 ORDER BY `minOrder` ASC [ RunTime:0.001273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1125 ORDER BY `unit` DESC [ RunTime:0.000433s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1125 LIMIT 2 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1125 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
select * from pdf where partno='CMX60D10' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.000891s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CMX60D10' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.000830s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16957 LIMIT 4 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16957 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16957 ORDER BY `unit` DESC [ RunTime:0.002260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16957 LIMIT 2 [ RunTime:0.000435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16957 ORDER BY `minOrder` ASC [ RunTime:0.002073s ]
select * from pdf where partno='G3VM-202J1' and brandshort='OMRON' limit 1 [ RunTime:0.001182s ]
select foldpath,foldpath2,filename from pdf_file where id=689977 limit 1 [ RunTime:0.000555s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.007054s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15939 LIMIT 4 [ RunTime:0.002545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15939 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15939 ORDER BY `unit` DESC [ RunTime:0.004727s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15939 LIMIT 2 [ RunTime:0.001014s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15939 ORDER BY `minOrder` ASC [ RunTime:0.005567s ]
select * from pdf where partno='G3VM-202J1' and brandshort='OMRON' limit 1 [ RunTime:0.000352s ]
select foldpath,foldpath2,filename from pdf_file where id=689977 limit 1 [ RunTime:0.000171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.000198s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5213 LIMIT 4 [ RunTime:0.004257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5213 ORDER BY `minOrder` ASC [ RunTime:0.001915s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5213 ORDER BY `unit` DESC [ RunTime:0.001422s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5213 LIMIT 2 [ RunTime:0.005906s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5213 ORDER BY `minOrder` ASC [ RunTime:0.000434s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.000195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2935 LIMIT 4 [ RunTime:0.001770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2935 ORDER BY `minOrder` ASC [ RunTime:0.007156s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2935 ORDER BY `unit` DESC [ RunTime:0.000617s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2935 LIMIT 2 [ RunTime:0.001022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2935 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DC60S3' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.001015s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9587 LIMIT 4 [ RunTime:0.001007s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9587 ORDER BY `minOrder` ASC [ RunTime:0.002957s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9587 ORDER BY `unit` DESC [ RunTime:0.009366s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9587 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9587 ORDER BY `minOrder` ASC [ RunTime:0.000864s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RAM1A23D125' OR `brand` LIKE 'CARLO GAVAZZI%' ) ) LIMIT 1 [ RunTime:0.001609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3642 LIMIT 4 [ RunTime:0.003984s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3642 ORDER BY `minOrder` ASC [ RunTime:0.003816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3642 ORDER BY `unit` DESC [ RunTime:0.001944s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3642 LIMIT 2 [ RunTime:0.001307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3642 ORDER BY `minOrder` ASC [ RunTime:0.005514s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1611-001E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.003383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5683 LIMIT 4 [ RunTime:0.003640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5683 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5683 ORDER BY `unit` DESC [ RunTime:0.001331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5683 LIMIT 2 [ RunTime:0.003442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5683 ORDER BY `minOrder` ASC [ RunTime:0.002478s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DRA1MP240D4' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.000879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1124 LIMIT 4 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1124 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1124 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1124 LIMIT 2 [ RunTime:0.004217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1124 ORDER BY `minOrder` ASC [ RunTime:0.002815s ]
select * from pdf where partno='D53TP50D' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.001625s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D53TP50D' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.006125s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3640 LIMIT 4 [ RunTime:0.004821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3640 ORDER BY `minOrder` ASC [ RunTime:0.004063s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3640 ORDER BY `unit` DESC [ RunTime:0.004174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3640 LIMIT 2 [ RunTime:0.000544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3640 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1410-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.001996s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4991 LIMIT 4 [ RunTime:0.000612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4991 ORDER BY `minOrder` ASC [ RunTime:0.003175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4991 ORDER BY `unit` DESC [ RunTime:0.005457s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4991 LIMIT 2 [ RunTime:0.002211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4991 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GNR20DCZ' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.000761s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2934 LIMIT 4 [ RunTime:0.000478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2934 ORDER BY `minOrder` ASC [ RunTime:0.000925s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2934 ORDER BY `unit` DESC [ RunTime:0.000898s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2934 LIMIT 2 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2934 ORDER BY `minOrder` ASC [ RunTime:0.002094s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CKM0610' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.002012s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8578 LIMIT 4 [ RunTime:0.000896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8578 ORDER BY `minOrder` ASC [ RunTime:0.000795s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8578 ORDER BY `unit` DESC [ RunTime:0.002315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8578 LIMIT 2 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8578 ORDER BY `minOrder` ASC [ RunTime:0.000960s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3NA-220B-UTU DC5-24 BY OMZ' OR `brand` LIKE 'OMRON INDUSTRIAL AUTOMATION%' ) ) LIMIT 1 [ RunTime:0.000727s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6816 LIMIT 4 [ RunTime:0.004742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6816 ORDER BY `minOrder` ASC [ RunTime:0.002776s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6816 ORDER BY `unit` DESC [ RunTime:0.000870s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6816 LIMIT 2 [ RunTime:0.005337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6816 ORDER BY `minOrder` ASC [ RunTime:0.003087s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1510-503E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.003942s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (364,365,366,367,368,369) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000477s ]