SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002330s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000721s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002152s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001780s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000280s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000316s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000224s ]
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.000434s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002385s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'SMAJ12A%' AND `status` <> 2 ) [ RunTime:0.001206s ]
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 'SMAJ12A%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 20,20 [ RunTime:0.002331s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002116s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4769594 LIMIT 4 [ RunTime:0.005656s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4769594 ORDER BY `minOrder` ASC [ RunTime:0.005078s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4769594 ORDER BY `unit` DESC [ RunTime:0.001935s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001707s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4769594 LIMIT 2 [ RunTime:0.001952s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4769594 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4771340 LIMIT 4 [ RunTime:0.000793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4771340 ORDER BY `minOrder` ASC [ RunTime:0.000417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4771340 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4771340 LIMIT 2 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4771340 ORDER BY `minOrder` ASC [ RunTime:0.002114s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6635719 LIMIT 4 [ RunTime:0.000771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6635719 ORDER BY `minOrder` ASC [ RunTime:0.003903s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6635719 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6635719 LIMIT 2 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6635719 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
select * from pdf where partno='SMAJ12AQ-13-F' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.001301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4767659 LIMIT 4 [ RunTime:0.002775s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767659 ORDER BY `minOrder` ASC [ RunTime:0.000807s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4767659 ORDER BY `unit` DESC [ RunTime:0.000393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4767659 LIMIT 2 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767659 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4333445 LIMIT 4 [ RunTime:0.000642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4333445 ORDER BY `minOrder` ASC [ RunTime:0.001589s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4333445 ORDER BY `unit` DESC [ RunTime:0.004655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4333445 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4333445 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4767984 LIMIT 4 [ RunTime:0.000592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767984 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4767984 ORDER BY `unit` DESC [ RunTime:0.000844s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4767984 LIMIT 2 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767984 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6630516 LIMIT 4 [ RunTime:0.002099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630516 ORDER BY `minOrder` ASC [ RunTime:0.000576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6630516 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6630516 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630516 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
select * from pdf where partno='SMAJ12AHR3G' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.001071s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4782491 LIMIT 4 [ RunTime:0.000860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782491 ORDER BY `minOrder` ASC [ RunTime:0.001547s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4782491 ORDER BY `unit` DESC [ RunTime:0.001473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4782491 LIMIT 2 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782491 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4770648 LIMIT 4 [ RunTime:0.000535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770648 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4770648 ORDER BY `unit` DESC [ RunTime:0.002469s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4770648 LIMIT 2 [ RunTime:0.001534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770648 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4312683 LIMIT 4 [ RunTime:0.000654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312683 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4312683 ORDER BY `unit` DESC [ RunTime:0.001420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4312683 LIMIT 2 [ RunTime:0.000642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312683 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8648 LIMIT 4 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8648 ORDER BY `minOrder` ASC [ RunTime:0.000969s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8648 ORDER BY `unit` DESC [ RunTime:0.000541s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8648 LIMIT 2 [ RunTime:0.000495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8648 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002592s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001536s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16644 LIMIT 4 [ RunTime:0.000592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16644 ORDER BY `minOrder` ASC [ RunTime:0.002024s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16644 ORDER BY `unit` DESC [ RunTime:0.000728s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16644 LIMIT 2 [ RunTime:0.000539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16644 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
select * from pdf where partno='SMAJ12A' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.003362s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15625 LIMIT 4 [ RunTime:0.000590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15625 ORDER BY `minOrder` ASC [ RunTime:0.001144s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15625 ORDER BY `unit` DESC [ RunTime:0.000554s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15625 LIMIT 2 [ RunTime:0.000516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15625 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
select * from pdf where partno='SMAJ12A' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000359s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 21648 LIMIT 4 [ RunTime:0.000536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21648 ORDER BY `minOrder` ASC [ RunTime:0.002149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 21648 ORDER BY `unit` DESC [ RunTime:0.000731s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 21648 LIMIT 2 [ RunTime:0.000509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21648 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
select * from pdf where partno='SMAJ12A' and brandshort='NA' limit 1 [ RunTime:0.001146s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'NA%' ) ) LIMIT 1 [ RunTime:0.001016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4776547 LIMIT 4 [ RunTime:0.000765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4776547 ORDER BY `minOrder` ASC [ RunTime:0.000546s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4776547 ORDER BY `unit` DESC [ RunTime:0.000421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4776547 LIMIT 2 [ RunTime:0.000496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4776547 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4300 LIMIT 4 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4300 ORDER BY `minOrder` ASC [ RunTime:0.001267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4300 ORDER BY `unit` DESC [ RunTime:0.000470s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4300 LIMIT 2 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4300 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
select * from pdf where partno='SMAJ12A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.002199s ]
select foldpath,foldpath2,filename from pdf_file where id=446702 limit 1 [ RunTime:0.000612s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.007985s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6659932 LIMIT 4 [ RunTime:0.000682s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659932 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6659932 ORDER BY `unit` DESC [ RunTime:0.001888s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6659932 LIMIT 2 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659932 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6659931 LIMIT 4 [ RunTime:0.001078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659931 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6659931 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6659931 LIMIT 2 [ RunTime:0.007228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659931 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6657081 LIMIT 4 [ RunTime:0.000717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6657081 ORDER BY `minOrder` ASC [ RunTime:0.000453s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6657081 ORDER BY `unit` DESC [ RunTime:0.001001s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6657081 LIMIT 2 [ RunTime:0.002224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6657081 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
select * from pdf where partno='SMAJ12AHE3/61' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.001099s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6636960 LIMIT 4 [ RunTime:0.000472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6636960 ORDER BY `minOrder` ASC [ RunTime:0.004139s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6636960 ORDER BY `unit` DESC [ RunTime:0.000467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6636960 LIMIT 2 [ RunTime:0.001725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6636960 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'SMAJ12A%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001535s ]