SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001911s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000473s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002193s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.126' ) [ RunTime:0.000285s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001806s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000274s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 28 LIMIT 1 [ RunTime:0.000315s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 28 [ RunTime:0.000225s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (217,218,219,220,221,222,223,224,225,226,227,228) [ RunTime:0.000291s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001929s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (217,218,219,220,221,222,223,224,225,226,227,228) ) [ RunTime:0.002821s ]
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 (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.004902s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6933 LIMIT 4 [ RunTime:0.000306s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6933 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002090s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6933 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001617s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6933 LIMIT 2 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6933 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002112s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF8523T/1,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9172 LIMIT 4 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9172 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9172 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9172 LIMIT 2 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9172 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85263ATL/AX' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7060 LIMIT 4 [ RunTime:0.000447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7060 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7060 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7060 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7060 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF8523TK/1,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9175 LIMIT 4 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9175 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9175 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9175 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9175 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85363ATT/AJ' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000349s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4270 LIMIT 4 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4270 ORDER BY `minOrder` ASC [ RunTime:0.007365s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4270 ORDER BY `unit` DESC [ RunTime:0.003071s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4270 LIMIT 2 [ RunTime:0.002306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4270 ORDER BY `minOrder` ASC [ RunTime:0.001876s ]
select * from pdf where partno='MCP79410-I/SN' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000397s ]
select foldpath,foldpath2,filename from pdf_file where id=1007381 limit 1 [ RunTime:0.000238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP79410-I/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9349 LIMIT 4 [ RunTime:0.000680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9349 ORDER BY `minOrder` ASC [ RunTime:0.003270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9349 ORDER BY `unit` DESC [ RunTime:0.001336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9349 LIMIT 2 [ RunTime:0.000450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9349 ORDER BY `minOrder` ASC [ RunTime:0.001440s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS3231SN#T&R' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10300 LIMIT 4 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10300 ORDER BY `minOrder` ASC [ RunTime:0.001620s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10300 ORDER BY `unit` DESC [ RunTime:0.001227s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10300 LIMIT 2 [ RunTime:0.000419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10300 ORDER BY `minOrder` ASC [ RunTime:0.002308s ]
select * from pdf where partno='ISL12026IBZ-T' and brandshort='RENESAS' limit 1 [ RunTime:0.000315s ]
select foldpath,foldpath2,filename from pdf_file where id=1384254 limit 1 [ RunTime:0.000223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ISL12026IBZ-T' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.000245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9619 LIMIT 4 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9619 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9619 ORDER BY `unit` DESC [ RunTime:0.000221s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9619 LIMIT 2 [ RunTime:0.000215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9619 ORDER BY `minOrder` ASC [ RunTime:0.000228s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF8563T/F4,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7499 LIMIT 4 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7499 ORDER BY `minOrder` ASC [ RunTime:0.000898s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7499 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7499 LIMIT 2 [ RunTime:0.000444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7499 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M41T00SM6F' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000241s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9174 LIMIT 4 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9174 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9174 ORDER BY `unit` DESC [ RunTime:0.000227s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9174 LIMIT 2 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9174 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85063ATT/AJ' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10542 LIMIT 4 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10542 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10542 ORDER BY `unit` DESC [ RunTime:0.000229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10542 LIMIT 2 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10542 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX31342EWA+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8035 LIMIT 4 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8035 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8035 ORDER BY `unit` DESC [ RunTime:0.001804s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8035 LIMIT 2 [ RunTime:0.000222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8035 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1302+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9173 LIMIT 4 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9173 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9173 ORDER BY `unit` DESC [ RunTime:0.000238s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9173 LIMIT 2 [ RunTime:0.000219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9173 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85263ATT/AJ' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12889 LIMIT 4 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12889 ORDER BY `minOrder` ASC [ RunTime:0.001734s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12889 ORDER BY `unit` DESC [ RunTime:0.001317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12889 LIMIT 2 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12889 ORDER BY `minOrder` ASC [ RunTime:0.001973s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AB-RTCMC-32.768KHZ-B5ZE-S3-T' OR `brand` LIKE 'ABRACON%' ) ) LIMIT 1 [ RunTime:0.000253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8920 LIMIT 4 [ RunTime:0.002298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8920 ORDER BY `minOrder` ASC [ RunTime:0.003168s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8920 ORDER BY `unit` DESC [ RunTime:0.000255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8920 LIMIT 2 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8920 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='DS1340C-33#' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1340C-33#' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12511 LIMIT 4 [ RunTime:0.000419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12511 ORDER BY `minOrder` ASC [ RunTime:0.000805s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12511 ORDER BY `unit` DESC [ RunTime:0.000245s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12511 LIMIT 2 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12511 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '782351-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.000236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12512 LIMIT 4 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12512 ORDER BY `minOrder` ASC [ RunTime:0.004166s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12512 ORDER BY `unit` DESC [ RunTime:0.000254s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12512 LIMIT 2 [ RunTime:0.002202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12512 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '782352-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12453 LIMIT 4 [ RunTime:0.001440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12453 ORDER BY `minOrder` ASC [ RunTime:0.001225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12453 ORDER BY `unit` DESC [ RunTime:0.000251s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12453 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12453 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '777531-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.000242s ]
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.001171s ]