SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002325s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000704s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002530s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.56' ) [ RunTime:0.000311s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001759s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000270s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 16 LIMIT 1 [ RunTime:0.000314s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 16 [ RunTime:0.000224s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74) [ RunTime:0.000306s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001918s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74) ) [ RunTime:0.000630s ]
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 (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002005s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001970s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14975 LIMIT 4 [ RunTime:0.000516s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14975 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001605s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14975 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
select * from pdf where partno='EEFSX0E331ER' and brandshort='Panasonic' limit 1 [ RunTime:0.000299s ]
select foldpath,foldpath2,filename from pdf_file where id=1078764 limit 1 [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002433s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EEFSX0E331ER' OR `brand` LIKE 'Panasonic%' ) ) LIMIT 1 [ RunTime:0.000418s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14970 LIMIT 4 [ RunTime:0.000522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14970 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14970 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
select * from pdf where partno='TAJC476K016R' and brandshort='AVX' limit 1 [ RunTime:0.000304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TAJC476K016R' OR `brand` LIKE 'AVX%' ) ) LIMIT 1 [ RunTime:0.000381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10076 LIMIT 4 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10076 ORDER BY `unit` DESC [ RunTime:0.000328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10076 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T494X476K035AT.' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3488 LIMIT 4 [ RunTime:0.000461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3488 ORDER BY `minOrder` ASC [ RunTime:0.001280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3488 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3488 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3488 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '594D187X0016R2T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3054 LIMIT 4 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3054 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3054 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3054 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3054 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
select * from pdf where partno='T494B685K025AT' and brandshort='KEMET' limit 1 [ RunTime:0.000345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T494B685K025AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6245 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6245 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6245 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6245 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6245 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
select * from pdf where partno='T491A106M020AT.' and brandshort='KEMET' limit 1 [ RunTime:0.000496s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T491A106M020AT.' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000380s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 846 LIMIT 4 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 846 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 846 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 846 LIMIT 2 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 846 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T353G106K035AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000376s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5340 LIMIT 4 [ RunTime:0.000585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5340 ORDER BY `minOrder` ASC [ RunTime:0.000736s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5340 ORDER BY `unit` DESC [ RunTime:0.000363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5340 LIMIT 2 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5340 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39006/22-0619' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000375s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10091539 LIMIT 4 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10091539 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10091539 ORDER BY `unit` DESC [ RunTime:0.000363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10091539 LIMIT 2 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10091539 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
select * from pdf where partno='T491A106M020AT..' and brandshort='KEMET' limit 1 [ RunTime:0.000508s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T491A106M020AT..' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000379s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000594s ]