SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001771s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000493s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002052s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001823s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000285s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 35 LIMIT 1 [ RunTime:0.000361s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 35 [ RunTime:0.000225s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (364,365,366,367,368,369) [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002124s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` IN (364,365,366,367,368,369) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002149s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('3641','10835','3643','1126','1125','16957','15939','5213','2935','9587','3642','5683','1124','3640','4991','2934','8578','6816') ORDER BY FIELD(s.id, 3641,10835,3643,1126,1125,16957,15939,5213,2935,9587,3642,5683,1124,3640,4991,2934,8578,6816) [ RunTime:0.002132s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3641 LIMIT 4 [ RunTime:0.001710s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3641 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000814s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3641 ORDER BY `unit` DESC [ RunTime:0.002342s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002868s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3641 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3641 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000921s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1510-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.002559s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10835 LIMIT 4 [ RunTime:0.005907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10835 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10835 ORDER BY `unit` DESC [ RunTime:0.004268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10835 LIMIT 2 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10835 ORDER BY `minOrder` ASC [ RunTime:0.000165s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VN330SPTR-E' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3643 LIMIT 4 [ RunTime:0.003441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3643 ORDER BY `minOrder` ASC [ RunTime:0.001792s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3643 ORDER BY `unit` DESC [ RunTime:0.001264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3643 LIMIT 2 [ RunTime:0.001136s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3643 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
select * from pdf where partno='ASSR-3210-003E' and brandshort='BROADCOM' limit 1 [ RunTime:0.002007s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-3210-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.006771s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1126 LIMIT 4 [ RunTime:0.004437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1126 ORDER BY `minOrder` ASC [ RunTime:0.000635s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1126 ORDER BY `unit` DESC [ RunTime:0.001733s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1126 LIMIT 2 [ RunTime:0.003118s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1126 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
select * from pdf where partno='CX240D5' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.001722s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CX240D5' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.006105s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1125 LIMIT 4 [ RunTime:0.000512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1125 ORDER BY `minOrder` ASC [ RunTime:0.000503s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1125 ORDER BY `unit` DESC [ RunTime:0.000507s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1125 LIMIT 2 [ RunTime:0.004056s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1125 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
select * from pdf where partno='CMX60D10' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.002377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CMX60D10' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.001851s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16957 LIMIT 4 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16957 ORDER BY `minOrder` ASC [ RunTime:0.002195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16957 ORDER BY `unit` DESC [ RunTime:0.001844s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16957 LIMIT 2 [ RunTime:0.000462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16957 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
select * from pdf where partno='G3VM-202J1' and brandshort='OMRON' limit 1 [ RunTime:0.010191s ]
select foldpath,foldpath2,filename from pdf_file where id=689977 limit 1 [ RunTime:0.001033s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.005791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15939 LIMIT 4 [ RunTime:0.001092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15939 ORDER BY `minOrder` ASC [ RunTime:0.008859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15939 ORDER BY `unit` DESC [ RunTime:0.000420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15939 LIMIT 2 [ RunTime:0.001044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15939 ORDER BY `minOrder` ASC [ RunTime:0.000766s ]
select * from pdf where partno='G3VM-202J1' and brandshort='OMRON' limit 1 [ RunTime:0.000474s ]
select foldpath,foldpath2,filename from pdf_file where id=689977 limit 1 [ RunTime:0.000296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.000263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5213 LIMIT 4 [ RunTime:0.002062s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5213 ORDER BY `minOrder` ASC [ RunTime:0.002325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5213 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5213 LIMIT 2 [ RunTime:0.000449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5213 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.000261s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2935 LIMIT 4 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2935 ORDER BY `minOrder` ASC [ RunTime:0.000704s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2935 ORDER BY `unit` DESC [ RunTime:0.002519s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2935 LIMIT 2 [ RunTime:0.000981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2935 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DC60S3' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.001699s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9587 LIMIT 4 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9587 ORDER BY `minOrder` ASC [ RunTime:0.000752s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9587 ORDER BY `unit` DESC [ RunTime:0.002784s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9587 LIMIT 2 [ RunTime:0.000980s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9587 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RAM1A23D125' OR `brand` LIKE 'CARLO GAVAZZI%' ) ) LIMIT 1 [ RunTime:0.001797s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3642 LIMIT 4 [ RunTime:0.000786s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3642 ORDER BY `minOrder` ASC [ RunTime:0.000595s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3642 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3642 LIMIT 2 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3642 ORDER BY `minOrder` ASC [ RunTime:0.000657s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1611-001E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.001722s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5683 LIMIT 4 [ RunTime:0.003773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5683 ORDER BY `minOrder` ASC [ RunTime:0.000723s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5683 ORDER BY `unit` DESC [ RunTime:0.000587s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5683 LIMIT 2 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5683 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DRA1MP240D4' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.000964s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1124 LIMIT 4 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1124 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1124 ORDER BY `unit` DESC [ RunTime:0.000324s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1124 LIMIT 2 [ RunTime:0.000860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1124 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
select * from pdf where partno='D53TP50D' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.002558s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D53TP50D' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.000698s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3640 LIMIT 4 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3640 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3640 ORDER BY `unit` DESC [ RunTime:0.000380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3640 LIMIT 2 [ RunTime:0.003570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3640 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1410-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.003890s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4991 LIMIT 4 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4991 ORDER BY `minOrder` ASC [ RunTime:0.005704s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4991 ORDER BY `unit` DESC [ RunTime:0.000471s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4991 LIMIT 2 [ RunTime:0.000335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4991 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GNR20DCZ' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.001086s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2934 LIMIT 4 [ RunTime:0.000766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2934 ORDER BY `minOrder` ASC [ RunTime:0.001269s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2934 ORDER BY `unit` DESC [ RunTime:0.000327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2934 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2934 ORDER BY `minOrder` ASC [ RunTime:0.002800s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CKM0610' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.003439s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8578 LIMIT 4 [ RunTime:0.001811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8578 ORDER BY `minOrder` ASC [ RunTime:0.000737s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8578 ORDER BY `unit` DESC [ RunTime:0.000549s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8578 LIMIT 2 [ RunTime:0.002743s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8578 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
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.000762s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6816 LIMIT 4 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6816 ORDER BY `minOrder` ASC [ RunTime:0.003386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6816 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6816 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6816 ORDER BY `minOrder` ASC [ RunTime:0.000478s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1510-503E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.000253s ]
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.000388s ]