SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001077s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000352s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001280s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000208s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001389s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000192s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 217 LIMIT 1 [ RunTime:0.000230s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 217 [ RunTime:0.000147s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 28 [ RunTime:0.000143s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001083s ]
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` = 217 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001720s ]
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') ORDER BY FIELD(s.id, 6933,9172,7060,9175,4270,9349,10300,9619,7499,9174,10542,8035,9173,12889,8920) [ RunTime:0.004350s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6933 LIMIT 4 [ RunTime:0.000168s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6933 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000955s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6933 ORDER BY `unit` DESC [ RunTime:0.002501s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001104s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6933 LIMIT 2 [ RunTime:0.000184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6933 ORDER BY `minOrder` ASC [ RunTime:0.000965s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001228s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF8523T/1,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000542s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9172 LIMIT 4 [ RunTime:0.000396s ]
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.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9172 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9172 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85263ATL/AX' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7060 LIMIT 4 [ RunTime:0.001117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7060 ORDER BY `minOrder` ASC [ RunTime:0.001000s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7060 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7060 LIMIT 2 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7060 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF8523TK/1,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.006453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9175 LIMIT 4 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9175 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9175 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9175 LIMIT 2 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9175 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85363ATT/AJ' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4270 LIMIT 4 [ RunTime:0.000481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4270 ORDER BY `minOrder` ASC [ RunTime:0.000752s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4270 ORDER BY `unit` DESC [ RunTime:0.000582s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4270 LIMIT 2 [ RunTime:0.002224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4270 ORDER BY `minOrder` ASC [ RunTime:0.004019s ]
select * from pdf where partno='MCP79410-I/SN' and brandshort='MICROCHIP' limit 1 [ RunTime:0.006068s ]
select foldpath,foldpath2,filename from pdf_file where id=1007381 limit 1 [ RunTime:0.011440s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP79410-I/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.015572s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9349 LIMIT 4 [ RunTime:0.007552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9349 ORDER BY `minOrder` ASC [ RunTime:0.005581s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9349 ORDER BY `unit` DESC [ RunTime:0.007503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9349 LIMIT 2 [ RunTime:0.001710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9349 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS3231SN#T&R' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.001158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10300 LIMIT 4 [ RunTime:0.000266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10300 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10300 ORDER BY `unit` DESC [ RunTime:0.000266s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10300 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10300 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='ISL12026IBZ-T' and brandshort='RENESAS' limit 1 [ RunTime:0.000546s ]
select foldpath,foldpath2,filename from pdf_file where id=1384254 limit 1 [ RunTime:0.001243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ISL12026IBZ-T' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.000321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9619 LIMIT 4 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9619 ORDER BY `minOrder` ASC [ RunTime:0.000727s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9619 ORDER BY `unit` DESC [ RunTime:0.000432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9619 LIMIT 2 [ RunTime:0.004113s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9619 ORDER BY `minOrder` ASC [ RunTime:0.003656s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF8563T/F4,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.019743s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7499 LIMIT 4 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7499 ORDER BY `minOrder` ASC [ RunTime:0.013686s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7499 ORDER BY `unit` DESC [ RunTime:0.017918s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7499 LIMIT 2 [ RunTime:0.011250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7499 ORDER BY `minOrder` ASC [ RunTime:0.005800s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M41T00SM6F' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.008863s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9174 LIMIT 4 [ RunTime:0.007979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9174 ORDER BY `minOrder` ASC [ RunTime:0.005884s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9174 ORDER BY `unit` DESC [ RunTime:0.022130s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9174 LIMIT 2 [ RunTime:0.015885s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9174 ORDER BY `minOrder` ASC [ RunTime:0.004371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85063ATT/AJ' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002586s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10542 LIMIT 4 [ RunTime:0.000886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10542 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10542 ORDER BY `unit` DESC [ RunTime:0.000204s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10542 LIMIT 2 [ RunTime:0.000195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10542 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX31342EWA+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.009146s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8035 LIMIT 4 [ RunTime:0.000194s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8035 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8035 ORDER BY `unit` DESC [ RunTime:0.000202s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8035 LIMIT 2 [ RunTime:0.000184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8035 ORDER BY `minOrder` ASC [ RunTime:0.001728s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1302+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9173 LIMIT 4 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9173 ORDER BY `minOrder` ASC [ RunTime:0.002552s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9173 ORDER BY `unit` DESC [ RunTime:0.000181s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9173 LIMIT 2 [ RunTime:0.004074s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9173 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF85263ATT/AJ' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12889 LIMIT 4 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12889 ORDER BY `minOrder` ASC [ RunTime:0.003624s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12889 ORDER BY `unit` DESC [ RunTime:0.005376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12889 LIMIT 2 [ RunTime:0.001516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12889 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AB-RTCMC-32.768KHZ-B5ZE-S3-T' OR `brand` LIKE 'ABRACON%' ) ) LIMIT 1 [ RunTime:0.001898s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8920 LIMIT 4 [ RunTime:0.003913s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8920 ORDER BY `minOrder` ASC [ RunTime:0.005243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8920 ORDER BY `unit` DESC [ RunTime:0.000427s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8920 LIMIT 2 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8920 ORDER BY `minOrder` ASC [ RunTime:0.002629s ]
select * from pdf where partno='DS1340C-33#' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.001422s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1340C-33#' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.003453s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 217 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002446s ]