SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001988s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000448s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001407s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001219s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000222s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000210s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000177s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001242s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'T491X476K035AT%' AND `status` <> 2 ) [ RunTime:0.000692s ]
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 ( `partno` LIKE 'T491X476K035AT%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006666s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5575436 LIMIT 4 [ RunTime:0.000232s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5575436 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001332s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5575436 ORDER BY `unit` DESC [ RunTime:0.000205s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000765s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5575436 LIMIT 2 [ RunTime:0.000158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5575436 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4399601 LIMIT 4 [ RunTime:0.004800s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4399601 ORDER BY `minOrder` ASC [ RunTime:0.003733s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4399601 ORDER BY `unit` DESC [ RunTime:0.002651s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4399601 LIMIT 2 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4399601 ORDER BY `minOrder` ASC [ RunTime:0.001933s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6711162 LIMIT 4 [ RunTime:0.000896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711162 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6711162 ORDER BY `unit` DESC [ RunTime:0.000999s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6711162 LIMIT 2 [ RunTime:0.000874s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711162 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2062 LIMIT 4 [ RunTime:0.000310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2062 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2062 ORDER BY `unit` DESC [ RunTime:0.000231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2062 LIMIT 2 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2062 ORDER BY `minOrder` ASC [ RunTime:0.000602s ]
select * from pdf where partno='T491X476K035AT' and brandshort='KEMET' limit 1 [ RunTime:0.007744s ]
select foldpath,foldpath2,filename from pdf_file where id=610751 limit 1 [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002946s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T491X476K035AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.004251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5587982 LIMIT 4 [ RunTime:0.009904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5587982 ORDER BY `minOrder` ASC [ RunTime:0.003302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5587982 ORDER BY `unit` DESC [ RunTime:0.000455s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5587982 LIMIT 2 [ RunTime:0.000934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5587982 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28026 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28026 ORDER BY `minOrder` ASC [ RunTime:0.002108s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28026 ORDER BY `unit` DESC [ RunTime:0.004053s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28026 LIMIT 2 [ RunTime:0.001886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28026 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
select * from pdf where partno='T491X476K035AT' and brandshort='KEMET/' limit 1 [ RunTime:0.001177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T491X476K035AT' OR `brand` LIKE 'KEMET/基美%' ) ) LIMIT 1 [ RunTime:0.000881s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18636 LIMIT 4 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18636 ORDER BY `minOrder` ASC [ RunTime:0.000468s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18636 ORDER BY `unit` DESC [ RunTime:0.002139s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18636 LIMIT 2 [ RunTime:0.006561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18636 ORDER BY `minOrder` ASC [ RunTime:0.010358s ]
select * from pdf where partno='T491X476K035AT' and brandshort='KEMET/' limit 1 [ RunTime:0.000293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T491X476K035AT' OR `brand` LIKE 'KEMET/基美%' ) ) LIMIT 1 [ RunTime:0.003810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7598560 LIMIT 4 [ RunTime:0.000942s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7598560 ORDER BY `minOrder` ASC [ RunTime:0.007647s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7598560 ORDER BY `unit` DESC [ RunTime:0.001905s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7598560 LIMIT 2 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7598560 ORDER BY `minOrder` ASC [ RunTime:0.001406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7597804 LIMIT 4 [ RunTime:0.000645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7597804 ORDER BY `minOrder` ASC [ RunTime:0.000995s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7597804 ORDER BY `unit` DESC [ RunTime:0.001507s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7597804 LIMIT 2 [ RunTime:0.001876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7597804 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7597456 LIMIT 4 [ RunTime:0.001702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7597456 ORDER BY `minOrder` ASC [ RunTime:0.002216s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7597456 ORDER BY `unit` DESC [ RunTime:0.001543s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7597456 LIMIT 2 [ RunTime:0.000604s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7597456 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7596945 LIMIT 4 [ RunTime:0.000752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7596945 ORDER BY `minOrder` ASC [ RunTime:0.001061s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7596945 ORDER BY `unit` DESC [ RunTime:0.000441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7596945 LIMIT 2 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7596945 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5573723 LIMIT 4 [ RunTime:0.000547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5573723 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5573723 ORDER BY `unit` DESC [ RunTime:0.001073s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5573723 LIMIT 2 [ RunTime:0.001371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5573723 ORDER BY `minOrder` ASC [ RunTime:0.003382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5573352 LIMIT 4 [ RunTime:0.000638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5573352 ORDER BY `minOrder` ASC [ RunTime:0.002863s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5573352 ORDER BY `unit` DESC [ RunTime:0.004575s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5573352 LIMIT 2 [ RunTime:0.001238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5573352 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
select * from pdf where partno='T491X476K035ATAUTO7280' and brandshort='KEMET' limit 1 [ RunTime:0.001222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5573340 LIMIT 4 [ RunTime:0.000624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5573340 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5573340 ORDER BY `unit` DESC [ RunTime:0.002334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5573340 LIMIT 2 [ RunTime:0.005018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5573340 ORDER BY `minOrder` ASC [ RunTime:0.001383s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'T491X476K035AT%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001046s ]