SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002108s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000517s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002056s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000297s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001859s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000273s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 403 LIMIT 1 [ RunTime:0.000295s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 403 [ RunTime:0.000220s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 39 [ RunTime:0.000216s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002052s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 403 ) [ RunTime:0.001377s ]
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` = 4 AND `status` <> 2 AND `categoryid` = 403 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001620s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15517 LIMIT 4 [ RunTime:0.003724s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15517 ORDER BY `minOrder` ASC [ RunTime:0.002994s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15517 ORDER BY `unit` DESC [ RunTime:0.000493s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001737s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15517 LIMIT 2 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15517 ORDER BY `minOrder` ASC [ RunTime:0.002062s ]
select * from pdf where partno='25LC160C-I/P' and brandshort='MICROCHIP' limit 1 [ RunTime:0.003353s ]
select foldpath,foldpath2,filename from pdf_file where id=740671 limit 1 [ RunTime:0.001113s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001481s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '25LC160C-I/P' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15492 LIMIT 4 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15492 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15492 ORDER BY `unit` DESC [ RunTime:0.000235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15492 LIMIT 2 [ RunTime:0.002451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15492 ORDER BY `minOrder` ASC [ RunTime:0.003267s ]
select * from pdf where partno='AT24C64D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.003069s ]
select foldpath,foldpath2,filename from pdf_file where id=1345424 limit 1 [ RunTime:0.000473s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C64D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.024034s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15481 LIMIT 4 [ RunTime:0.001387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15481 ORDER BY `minOrder` ASC [ RunTime:0.000868s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15481 ORDER BY `unit` DESC [ RunTime:0.000697s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15481 LIMIT 2 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15481 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
select * from pdf where partno='24LC256-I/P' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001437s ]
select foldpath,foldpath2,filename from pdf_file where id=587109 limit 1 [ RunTime:0.000882s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24LC256-I/P' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019178s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15467 LIMIT 4 [ RunTime:0.002991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15467 ORDER BY `minOrder` ASC [ RunTime:0.006457s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15467 ORDER BY `unit` DESC [ RunTime:0.003760s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15467 LIMIT 2 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15467 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
select * from pdf where partno='M24M01-DFDW6TP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.002066s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DFDW6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004826s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15352 LIMIT 4 [ RunTime:0.000450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15352 ORDER BY `minOrder` ASC [ RunTime:0.002090s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15352 ORDER BY `unit` DESC [ RunTime:0.000371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15352 LIMIT 2 [ RunTime:0.005106s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15352 ORDER BY `minOrder` ASC [ RunTime:0.000804s ]
select * from pdf where partno='M24C04-FMC6TG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.003149s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C04-FMC6TG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000730s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15277 LIMIT 4 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15277 ORDER BY `minOrder` ASC [ RunTime:0.001389s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15277 ORDER BY `unit` DESC [ RunTime:0.000422s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15277 LIMIT 2 [ RunTime:0.005394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15277 ORDER BY `minOrder` ASC [ RunTime:0.004302s ]
select * from pdf where partno='93LC46B-I/SN' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001858s ]
select foldpath,foldpath2,filename from pdf_file where id=373252 limit 1 [ RunTime:0.000820s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '93LC46B-I/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.011436s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 403 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004344s ]