SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002411s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000491s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001984s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.188' ) [ RunTime:0.000292s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001754s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000273s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 377 LIMIT 1 [ RunTime:0.000311s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 377 [ RunTime:0.000233s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 37 [ RunTime:0.000217s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001957s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 377 ) [ RunTime:0.001130s ]
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` = 377 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001349s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001867s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9658 LIMIT 4 [ RunTime:0.003581s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9658 ORDER BY `minOrder` ASC [ RunTime:0.000634s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9658 ORDER BY `unit` DESC [ RunTime:0.003064s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9658 LIMIT 2 [ RunTime:0.002649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9658 ORDER BY `minOrder` ASC [ RunTime:0.004399s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002068s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SZEMI2121MTTAG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8524 LIMIT 4 [ RunTime:0.001445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8524 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8524 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8524 LIMIT 2 [ RunTime:0.000304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8524 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF02-4CMX8' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12583 LIMIT 4 [ RunTime:0.000563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12583 ORDER BY `minOrder` ASC [ RunTime:0.002422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12583 ORDER BY `unit` DESC [ RunTime:0.003757s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12583 LIMIT 2 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12583 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCZ1210AH900L2TA0G' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.012377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11685 LIMIT 4 [ RunTime:0.002642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11685 ORDER BY `minOrder` ASC [ RunTime:0.002424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11685 ORDER BY `unit` DESC [ RunTime:0.003158s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11685 LIMIT 2 [ RunTime:0.005898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11685 ORDER BY `minOrder` ASC [ RunTime:0.006922s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM4520-142-2P-T000' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.009173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17125 LIMIT 4 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17125 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17125 ORDER BY `unit` DESC [ RunTime:0.000339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17125 LIMIT 2 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17125 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
select * from pdf where partno='PA4339.101NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.000286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA4339.101NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000345s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16302 LIMIT 4 [ RunTime:0.000521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16302 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16302 ORDER BY `unit` DESC [ RunTime:0.007573s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16302 LIMIT 2 [ RunTime:0.005496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16302 ORDER BY `minOrder` ASC [ RunTime:0.001001s ]
select * from pdf where partno='ECMF4-20A42N10' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001690s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF4-20A42N10' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.008728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16107 LIMIT 4 [ RunTime:0.003693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16107 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16107 ORDER BY `unit` DESC [ RunTime:0.000381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16107 LIMIT 2 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16107 ORDER BY `minOrder` ASC [ RunTime:0.000362s ]
select * from pdf where partno='PA4339.101NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.000552s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA4339.101NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15282 LIMIT 4 [ RunTime:0.003264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15282 ORDER BY `minOrder` ASC [ RunTime:0.005479s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15282 ORDER BY `unit` DESC [ RunTime:0.000599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15282 LIMIT 2 [ RunTime:0.002668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15282 ORDER BY `minOrder` ASC [ RunTime:0.000913s ]
select * from pdf where partno='ECMF4-20A42N10' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000576s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF4-20A42N10' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11413 LIMIT 4 [ RunTime:0.003033s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11413 ORDER BY `minOrder` ASC [ RunTime:0.005093s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11413 ORDER BY `unit` DESC [ RunTime:0.000570s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11413 LIMIT 2 [ RunTime:0.000572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11413 ORDER BY `minOrder` ASC [ RunTime:0.001658s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF02-2BF3' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002685s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11673 LIMIT 4 [ RunTime:0.000560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11673 ORDER BY `minOrder` ASC [ RunTime:0.000569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11673 ORDER BY `unit` DESC [ RunTime:0.001151s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11673 LIMIT 2 [ RunTime:0.004061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11673 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM2012H-381-2P-T05' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.008942s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7089 LIMIT 4 [ RunTime:0.000526s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7089 ORDER BY `minOrder` ASC [ RunTime:0.002649s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7089 ORDER BY `unit` DESC [ RunTime:0.000719s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7089 LIMIT 2 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7089 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
select * from pdf where partno='ACM2012-121-2P-T001' and brandshort='TDK' limit 1 [ RunTime:0.001895s ]
select foldpath,foldpath2,filename from pdf_file where id=1118495 limit 1 [ RunTime:0.002195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACM2012-121-2P-T001' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.010066s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13283 LIMIT 4 [ RunTime:0.002007s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13283 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13283 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13283 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13283 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
select * from pdf where partno='PA4339.101NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.000589s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA4339.101NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8823 LIMIT 4 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8823 ORDER BY `minOrder` ASC [ RunTime:0.005566s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8823 ORDER BY `unit` DESC [ RunTime:0.000606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8823 LIMIT 2 [ RunTime:0.004387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8823 ORDER BY `minOrder` ASC [ RunTime:0.003351s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ECMF4-20A42N10' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11809 LIMIT 4 [ RunTime:0.004668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11809 ORDER BY `minOrder` ASC [ RunTime:0.000524s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11809 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11809 LIMIT 2 [ RunTime:0.001514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11809 ORDER BY `minOrder` ASC [ RunTime:0.002653s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT10HH1026R0PNL' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.012271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13282 LIMIT 4 [ RunTime:0.003758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13282 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13282 ORDER BY `unit` DESC [ RunTime:0.000336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13282 LIMIT 2 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13282 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
select * from pdf where partno='PA3927NLT' and brandshort='PULSE ELECTRONICS' limit 1 [ RunTime:0.000629s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA3927NLT' OR `brand` LIKE 'PULSE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000408s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 377 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001236s ]