SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002257s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000580s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002137s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000348s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002187s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000281s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 525 LIMIT 1 [ RunTime:0.000483s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 525 [ RunTime:0.000198s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 46 [ RunTime:0.000166s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002711s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 525 ) [ RunTime:0.004321s ]
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` = 525 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009016s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002172s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11649 LIMIT 4 [ RunTime:0.000293s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11649 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11649 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001913s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11649 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11649 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001908s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX98400AETX+T' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10845 LIMIT 4 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10845 ORDER BY `minOrder` ASC [ RunTime:0.000859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10845 ORDER BY `unit` DESC [ RunTime:0.000446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10845 LIMIT 2 [ RunTime:0.003255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10845 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TDA7498ETR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.017117s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10884 LIMIT 4 [ RunTime:0.001288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10884 ORDER BY `minOrder` ASC [ RunTime:0.000958s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10884 ORDER BY `unit` DESC [ RunTime:0.000692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10884 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10884 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TDA7851A' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11426 LIMIT 4 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11426 ORDER BY `minOrder` ASC [ RunTime:0.003006s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11426 ORDER BY `unit` DESC [ RunTime:0.008121s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11426 LIMIT 2 [ RunTime:0.003138s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11426 ORDER BY `minOrder` ASC [ RunTime:0.005460s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TDA7498MVTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001089s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10196 LIMIT 4 [ RunTime:0.011036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10196 ORDER BY `minOrder` ASC [ RunTime:0.006068s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10196 ORDER BY `unit` DESC [ RunTime:0.002357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10196 LIMIT 2 [ RunTime:0.000707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10196 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BD28623MUV-E2' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.005542s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11036 LIMIT 4 [ RunTime:0.003204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11036 ORDER BY `minOrder` ASC [ RunTime:0.009657s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11036 ORDER BY `unit` DESC [ RunTime:0.003595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11036 LIMIT 2 [ RunTime:0.001957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11036 ORDER BY `minOrder` ASC [ RunTime:0.011470s ]
select * from pdf where partno='REFAUDIOAMA12070TOBO1' and brandshort='INFINEON' limit 1 [ RunTime:0.005061s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'REFAUDIOAMA12070TOBO1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.007519s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 525 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.011974s ]