SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002120s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000499s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002432s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.005018s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002747s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001749s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 369 LIMIT 1 [ RunTime:0.008421s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 369 [ RunTime:0.003028s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 35 [ RunTime:0.005307s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002876s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 369 ) AND `u`.`lockUser` = '0' [ RunTime:0.017581s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 369 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016183s ]
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 = 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.007493s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3641 LIMIT 4 [ RunTime:0.014387s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3641 ORDER BY `minOrder` ASC [ RunTime:0.020067s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006819s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3641 ORDER BY `unit` DESC [ RunTime:0.012148s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001828s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3641 LIMIT 2 [ RunTime:0.009286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3641 ORDER BY `minOrder` ASC [ RunTime:0.013500s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1510-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.008888s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10835 LIMIT 4 [ RunTime:0.012898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10835 ORDER BY `minOrder` ASC [ RunTime:0.010334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10835 ORDER BY `unit` DESC [ RunTime:0.000951s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10835 LIMIT 2 [ RunTime:0.031699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10835 ORDER BY `minOrder` ASC [ RunTime:0.002830s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VN330SPTR-E' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.013716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3643 LIMIT 4 [ RunTime:0.038250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3643 ORDER BY `minOrder` ASC [ RunTime:0.036556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3643 ORDER BY `unit` DESC [ RunTime:0.030872s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3643 LIMIT 2 [ RunTime:0.016866s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3643 ORDER BY `minOrder` ASC [ RunTime:0.004698s ]
select * from pdf where partno='ASSR-3210-003E' and brandshort='BROADCOM' limit 1 [ RunTime:0.009695s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-3210-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.007263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1126 LIMIT 4 [ RunTime:0.006499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1126 ORDER BY `minOrder` ASC [ RunTime:0.003541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1126 ORDER BY `unit` DESC [ RunTime:0.003375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1126 LIMIT 2 [ RunTime:0.000743s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1126 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
select * from pdf where partno='CX240D5' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.004088s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CX240D5' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.001513s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1125 LIMIT 4 [ RunTime:0.000566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1125 ORDER BY `minOrder` ASC [ RunTime:0.004435s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1125 ORDER BY `unit` DESC [ RunTime:0.000520s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1125 LIMIT 2 [ RunTime:0.001691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1125 ORDER BY `minOrder` ASC [ RunTime:0.003156s ]
select * from pdf where partno='CMX60D10' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.001668s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CMX60D10' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.008072s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16957 LIMIT 4 [ RunTime:0.006333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16957 ORDER BY `minOrder` ASC [ RunTime:0.005945s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16957 ORDER BY `unit` DESC [ RunTime:0.011307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16957 LIMIT 2 [ RunTime:0.005454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16957 ORDER BY `minOrder` ASC [ RunTime:0.006770s ]
select * from pdf where partno='G3VM-202J1' and brandshort='OMRON' limit 1 [ RunTime:0.028290s ]
select foldpath,foldpath2,filename from pdf_file where id=689977 limit 1 [ RunTime:0.004629s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.008528s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15939 LIMIT 4 [ RunTime:0.013006s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15939 ORDER BY `minOrder` ASC [ RunTime:0.000605s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15939 ORDER BY `unit` DESC [ RunTime:0.002723s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15939 LIMIT 2 [ RunTime:0.001055s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15939 ORDER BY `minOrder` ASC [ RunTime:0.011245s ]
select * from pdf where partno='G3VM-202J1' and brandshort='OMRON' limit 1 [ RunTime:0.002701s ]
select foldpath,foldpath2,filename from pdf_file where id=689977 limit 1 [ RunTime:0.000406s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.000499s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5213 LIMIT 4 [ RunTime:0.001579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5213 ORDER BY `minOrder` ASC [ RunTime:0.019351s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5213 ORDER BY `unit` DESC [ RunTime:0.002056s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5213 LIMIT 2 [ RunTime:0.000639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5213 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.000419s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2935 LIMIT 4 [ RunTime:0.009501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2935 ORDER BY `minOrder` ASC [ RunTime:0.003093s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2935 ORDER BY `unit` DESC [ RunTime:0.026233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2935 LIMIT 2 [ RunTime:0.008110s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2935 ORDER BY `minOrder` ASC [ RunTime:0.013779s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DC60S3' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.022601s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9587 LIMIT 4 [ RunTime:0.007269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9587 ORDER BY `minOrder` ASC [ RunTime:0.016896s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9587 ORDER BY `unit` DESC [ RunTime:0.003413s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9587 LIMIT 2 [ RunTime:0.002145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9587 ORDER BY `minOrder` ASC [ RunTime:0.001878s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RAM1A23D125' OR `brand` LIKE 'CARLO GAVAZZI%' ) ) LIMIT 1 [ RunTime:0.007083s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3642 LIMIT 4 [ RunTime:0.001872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3642 ORDER BY `minOrder` ASC [ RunTime:0.009564s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3642 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3642 LIMIT 2 [ RunTime:0.001108s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3642 ORDER BY `minOrder` ASC [ RunTime:0.001636s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1611-001E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.019115s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5683 LIMIT 4 [ RunTime:0.011481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5683 ORDER BY `minOrder` ASC [ RunTime:0.013520s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5683 ORDER BY `unit` DESC [ RunTime:0.001895s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5683 LIMIT 2 [ RunTime:0.004149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5683 ORDER BY `minOrder` ASC [ RunTime:0.002976s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DRA1MP240D4' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.002358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1124 LIMIT 4 [ RunTime:0.003081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1124 ORDER BY `minOrder` ASC [ RunTime:0.018586s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1124 ORDER BY `unit` DESC [ RunTime:0.002225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1124 LIMIT 2 [ RunTime:0.008227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1124 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
select * from pdf where partno='D53TP50D' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.012129s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D53TP50D' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.010864s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3640 LIMIT 4 [ RunTime:0.008147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3640 ORDER BY `minOrder` ASC [ RunTime:0.002909s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3640 ORDER BY `unit` DESC [ RunTime:0.015177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3640 LIMIT 2 [ RunTime:0.008196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3640 ORDER BY `minOrder` ASC [ RunTime:0.008238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1410-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.011921s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4991 LIMIT 4 [ RunTime:0.014184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4991 ORDER BY `minOrder` ASC [ RunTime:0.008490s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4991 ORDER BY `unit` DESC [ RunTime:0.005933s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4991 LIMIT 2 [ RunTime:0.008132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4991 ORDER BY `minOrder` ASC [ RunTime:0.007285s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GNR20DCZ' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.011519s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2934 LIMIT 4 [ RunTime:0.004958s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2934 ORDER BY `minOrder` ASC [ RunTime:0.008094s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2934 ORDER BY `unit` DESC [ RunTime:0.006640s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2934 LIMIT 2 [ RunTime:0.015904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2934 ORDER BY `minOrder` ASC [ RunTime:0.003004s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CKM0610' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.001116s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8578 LIMIT 4 [ RunTime:0.009957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8578 ORDER BY `minOrder` ASC [ RunTime:0.000805s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8578 ORDER BY `unit` DESC [ RunTime:0.000682s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8578 LIMIT 2 [ RunTime:0.008321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8578 ORDER BY `minOrder` ASC [ RunTime:0.004931s ]
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.010958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6816 LIMIT 4 [ RunTime:0.007259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6816 ORDER BY `minOrder` ASC [ RunTime:0.021354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6816 ORDER BY `unit` DESC [ RunTime:0.009009s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6816 LIMIT 2 [ RunTime:0.000634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6816 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1510-503E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.007821s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 369 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002322s ]