SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002175s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000571s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002519s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000384s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002170s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000330s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 28 LIMIT 1 [ RunTime:0.000402s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 28 [ RunTime:0.000265s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (217,218,219,220,221,222,223,224,225,226,227,228) [ RunTime:0.000323s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002317s ]
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 (217,218,219,220,221,222,223,224,225,226,227,228) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001868s ]
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 ('6933','9172','7060','9175','4270','9349','10300','9619','7499','9174','10542','8035','9173','12889','8920','12511','12512','12453') ORDER BY FIELD(s.id, 6933,9172,7060,9175,4270,9349,10300,9619,7499,9174,10542,8035,9173,12889,8920,12511,12512,12453) [ RunTime:0.005578s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002043s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6933 LIMIT 4 [ RunTime:0.000487s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6933 ORDER BY `minOrder` ASC [ RunTime:0.001039s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6933 ORDER BY `unit` DESC [ RunTime:0.000834s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003451s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6933 LIMIT 2 [ RunTime:0.001983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6933 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002063s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF8523T/1,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9172 LIMIT 4 [ RunTime:0.004967s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9172 ORDER BY `minOrder` ASC [ RunTime:0.004802s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9172 ORDER BY `unit` DESC [ RunTime:0.000693s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9172 LIMIT 2 [ RunTime:0.000190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9172 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85263ATL/AX' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005117s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7060 LIMIT 4 [ RunTime:0.005929s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7060 ORDER BY `minOrder` ASC [ RunTime:0.013487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7060 ORDER BY `unit` DESC [ RunTime:0.003695s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7060 LIMIT 2 [ RunTime:0.000612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7060 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF8523TK/1,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.003574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9175 LIMIT 4 [ RunTime:0.000829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9175 ORDER BY `minOrder` ASC [ RunTime:0.000449s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9175 ORDER BY `unit` DESC [ RunTime:0.007663s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9175 LIMIT 2 [ RunTime:0.001262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9175 ORDER BY `minOrder` ASC [ RunTime:0.000208s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85363ATT/AJ' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002214s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4270 LIMIT 4 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4270 ORDER BY `minOrder` ASC [ RunTime:0.000584s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4270 ORDER BY `unit` DESC [ RunTime:0.000872s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4270 LIMIT 2 [ RunTime:0.004769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4270 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
select * from pdf where partno='MCP79410-I/SN' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002002s ]
select foldpath,foldpath2,filename from pdf_file where id=1007381 limit 1 [ RunTime:0.002952s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP79410-I/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.020488s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9349 LIMIT 4 [ RunTime:0.000794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9349 ORDER BY `minOrder` ASC [ RunTime:0.000697s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9349 ORDER BY `unit` DESC [ RunTime:0.000594s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9349 LIMIT 2 [ RunTime:0.000492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9349 ORDER BY `minOrder` ASC [ RunTime:0.001742s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS3231SN#T&R' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.001189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10300 LIMIT 4 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10300 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10300 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10300 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10300 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
select * from pdf where partno='ISL12026IBZ-T' and brandshort='RENESAS' limit 1 [ RunTime:0.000369s ]
select foldpath,foldpath2,filename from pdf_file where id=1384254 limit 1 [ RunTime:0.000236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ISL12026IBZ-T' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.000340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9619 LIMIT 4 [ RunTime:0.000549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9619 ORDER BY `minOrder` ASC [ RunTime:0.001845s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9619 ORDER BY `unit` DESC [ RunTime:0.000499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9619 LIMIT 2 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9619 ORDER BY `minOrder` ASC [ RunTime:0.000933s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF8563T/F4,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.011245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7499 LIMIT 4 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7499 ORDER BY `minOrder` ASC [ RunTime:0.011778s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7499 ORDER BY `unit` DESC [ RunTime:0.000895s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7499 LIMIT 2 [ RunTime:0.001239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7499 ORDER BY `minOrder` ASC [ RunTime:0.002419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M41T00SM6F' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003030s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9174 LIMIT 4 [ RunTime:0.002590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9174 ORDER BY `minOrder` ASC [ RunTime:0.002812s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9174 ORDER BY `unit` DESC [ RunTime:0.000965s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9174 LIMIT 2 [ RunTime:0.008059s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9174 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85063ATT/AJ' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.006127s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10542 LIMIT 4 [ RunTime:0.006367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10542 ORDER BY `minOrder` ASC [ RunTime:0.002183s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10542 ORDER BY `unit` DESC [ RunTime:0.000801s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10542 LIMIT 2 [ RunTime:0.000575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10542 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX31342EWA+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.001332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8035 LIMIT 4 [ RunTime:0.000482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8035 ORDER BY `minOrder` ASC [ RunTime:0.001052s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8035 ORDER BY `unit` DESC [ RunTime:0.000578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8035 LIMIT 2 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8035 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1302+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000863s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9173 LIMIT 4 [ RunTime:0.000471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9173 ORDER BY `minOrder` ASC [ RunTime:0.004568s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9173 ORDER BY `unit` DESC [ RunTime:0.000621s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9173 LIMIT 2 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9173 ORDER BY `minOrder` ASC [ RunTime:0.001709s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85263ATT/AJ' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12889 LIMIT 4 [ RunTime:0.004363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12889 ORDER BY `minOrder` ASC [ RunTime:0.001780s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12889 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12889 LIMIT 2 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12889 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AB-RTCMC-32.768KHZ-B5ZE-S3-T' OR `brand` LIKE 'ABRACON%' ) ) LIMIT 1 [ RunTime:0.003602s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8920 LIMIT 4 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8920 ORDER BY `minOrder` ASC [ RunTime:0.000460s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8920 ORDER BY `unit` DESC [ RunTime:0.000406s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8920 LIMIT 2 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8920 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='DS1340C-33#' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.001735s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1340C-33#' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.001897s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12511 LIMIT 4 [ RunTime:0.001423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12511 ORDER BY `minOrder` ASC [ RunTime:0.001193s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12511 ORDER BY `unit` DESC [ RunTime:0.000341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12511 LIMIT 2 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12511 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '782351-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.001777s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12512 LIMIT 4 [ RunTime:0.001761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12512 ORDER BY `minOrder` ASC [ RunTime:0.003032s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12512 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12512 LIMIT 2 [ RunTime:0.001750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12512 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '782352-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.002056s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12453 LIMIT 4 [ RunTime:0.001587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12453 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12453 ORDER BY `unit` DESC [ RunTime:0.000261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12453 LIMIT 2 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12453 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '777531-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.000252s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (217,218,219,220,221,222,223,224,225,226,227,228) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000384s ]