SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002575s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000646s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002508s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.003244s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001553s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.005241s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 35 LIMIT 1 [ RunTime:0.000485s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 35 [ RunTime:0.000249s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (364,365,366,367,368,369) [ RunTime:0.000226s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001767s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (364,365,366,367,368,369) ) AND `u`.`lockUser` = '0' [ RunTime:0.001053s ]
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` IN (364,365,366,367,368,369) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000982s ]
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.010514s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002537s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3641 LIMIT 4 [ RunTime:0.005152s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3641 ORDER BY `minOrder` ASC [ RunTime:0.001730s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3641 ORDER BY `unit` DESC [ RunTime:0.005253s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002123s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3641 LIMIT 2 [ RunTime:0.001549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3641 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002095s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1510-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.006722s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10835 LIMIT 4 [ RunTime:0.002336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10835 ORDER BY `minOrder` ASC [ RunTime:0.000710s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10835 ORDER BY `unit` DESC [ RunTime:0.003116s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10835 LIMIT 2 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10835 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VN330SPTR-E' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3643 LIMIT 4 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3643 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3643 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3643 LIMIT 2 [ RunTime:0.003431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3643 ORDER BY `minOrder` ASC [ RunTime:0.001506s ]
select * from pdf where partno='ASSR-3210-003E' and brandshort='BROADCOM' limit 1 [ RunTime:0.004684s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-3210-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.000554s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1126 LIMIT 4 [ RunTime:0.000479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1126 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1126 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1126 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1126 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
select * from pdf where partno='CX240D5' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.000531s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CX240D5' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.000525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1125 LIMIT 4 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1125 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1125 ORDER BY `unit` DESC [ RunTime:0.000407s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1125 LIMIT 2 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1125 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
select * from pdf where partno='CMX60D10' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.000622s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CMX60D10' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.004846s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16957 LIMIT 4 [ RunTime:0.000805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16957 ORDER BY `minOrder` ASC [ RunTime:0.000646s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16957 ORDER BY `unit` DESC [ RunTime:0.002243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16957 LIMIT 2 [ RunTime:0.002351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16957 ORDER BY `minOrder` ASC [ RunTime:0.001762s ]
select * from pdf where partno='G3VM-202J1' and brandshort='OMRON' limit 1 [ RunTime:0.006060s ]
select foldpath,foldpath2,filename from pdf_file where id=689977 limit 1 [ RunTime:0.000408s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.003901s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15939 LIMIT 4 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15939 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15939 ORDER BY `unit` DESC [ RunTime:0.000501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15939 LIMIT 2 [ RunTime:0.001167s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15939 ORDER BY `minOrder` ASC [ RunTime:0.006033s ]
select * from pdf where partno='G3VM-202J1' and brandshort='OMRON' limit 1 [ RunTime:0.006821s ]
select foldpath,foldpath2,filename from pdf_file where id=689977 limit 1 [ RunTime:0.000409s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.002523s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5213 LIMIT 4 [ RunTime:0.007780s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5213 ORDER BY `minOrder` ASC [ RunTime:0.006147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5213 ORDER BY `unit` DESC [ RunTime:0.018014s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5213 LIMIT 2 [ RunTime:0.009730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5213 ORDER BY `minOrder` ASC [ RunTime:0.000653s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2935 LIMIT 4 [ RunTime:0.018288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2935 ORDER BY `minOrder` ASC [ RunTime:0.007424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2935 ORDER BY `unit` DESC [ RunTime:0.021185s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2935 LIMIT 2 [ RunTime:0.003175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2935 ORDER BY `minOrder` ASC [ RunTime:0.006479s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DC60S3' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.000894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9587 LIMIT 4 [ RunTime:0.007773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9587 ORDER BY `minOrder` ASC [ RunTime:0.010381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9587 ORDER BY `unit` DESC [ RunTime:0.004468s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9587 LIMIT 2 [ RunTime:0.003824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9587 ORDER BY `minOrder` ASC [ RunTime:0.003124s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RAM1A23D125' OR `brand` LIKE 'CARLO GAVAZZI%' ) ) LIMIT 1 [ RunTime:0.000454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3642 LIMIT 4 [ RunTime:0.002307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3642 ORDER BY `minOrder` ASC [ RunTime:0.002600s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3642 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3642 LIMIT 2 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3642 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1611-001E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.001069s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5683 LIMIT 4 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5683 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5683 ORDER BY `unit` DESC [ RunTime:0.000279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5683 LIMIT 2 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5683 ORDER BY `minOrder` ASC [ RunTime:0.003438s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DRA1MP240D4' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.005251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1124 LIMIT 4 [ RunTime:0.005539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1124 ORDER BY `minOrder` ASC [ RunTime:0.003685s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1124 ORDER BY `unit` DESC [ RunTime:0.003075s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1124 LIMIT 2 [ RunTime:0.006720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1124 ORDER BY `minOrder` ASC [ RunTime:0.004283s ]
select * from pdf where partno='D53TP50D' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.001836s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D53TP50D' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.000895s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3640 LIMIT 4 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3640 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3640 ORDER BY `unit` DESC [ RunTime:0.000201s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3640 LIMIT 2 [ RunTime:0.000182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3640 ORDER BY `minOrder` ASC [ RunTime:0.003529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1410-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.000787s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4991 LIMIT 4 [ RunTime:0.003770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4991 ORDER BY `minOrder` ASC [ RunTime:0.004303s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4991 ORDER BY `unit` DESC [ RunTime:0.001159s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4991 LIMIT 2 [ RunTime:0.006972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4991 ORDER BY `minOrder` ASC [ RunTime:0.004995s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GNR20DCZ' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.004142s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2934 LIMIT 4 [ RunTime:0.002652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2934 ORDER BY `minOrder` ASC [ RunTime:0.000841s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2934 ORDER BY `unit` DESC [ RunTime:0.005812s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2934 LIMIT 2 [ RunTime:0.007579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2934 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CKM0610' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.002623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8578 LIMIT 4 [ RunTime:0.005382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8578 ORDER BY `minOrder` ASC [ RunTime:0.000501s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8578 ORDER BY `unit` DESC [ RunTime:0.000262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8578 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8578 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
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.000327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6816 LIMIT 4 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6816 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6816 ORDER BY `unit` DESC [ RunTime:0.000251s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6816 LIMIT 2 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6816 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1510-503E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.000285s ]
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.003212s ]