SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001241s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000372s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001459s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000283s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001473s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000284s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000280s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000187s ]
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.000344s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001417s ]
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.005453s ]
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.013237s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4769594 LIMIT 4 [ RunTime:0.003954s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4769594 ORDER BY `minOrder` ASC [ RunTime:0.002541s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001733s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4769594 ORDER BY `unit` DESC [ RunTime:0.004715s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4769594 LIMIT 2 [ RunTime:0.011154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4769594 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4771340 LIMIT 4 [ RunTime:0.000720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4771340 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4771340 ORDER BY `unit` DESC [ RunTime:0.002377s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4771340 LIMIT 2 [ RunTime:0.003523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4771340 ORDER BY `minOrder` ASC [ RunTime:0.003266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6635719 LIMIT 4 [ RunTime:0.000702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6635719 ORDER BY `minOrder` ASC [ RunTime:0.005146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6635719 ORDER BY `unit` DESC [ RunTime:0.003055s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6635719 LIMIT 2 [ RunTime:0.003298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6635719 ORDER BY `minOrder` ASC [ RunTime:0.001609s ]
select * from pdf where partno='SMAJ12AQ-13-F' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.001287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4767659 LIMIT 4 [ RunTime:0.003140s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767659 ORDER BY `minOrder` ASC [ RunTime:0.002695s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4767659 ORDER BY `unit` DESC [ RunTime:0.000564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4767659 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767659 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4333445 LIMIT 4 [ RunTime:0.000660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4333445 ORDER BY `minOrder` ASC [ RunTime:0.003199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4333445 ORDER BY `unit` DESC [ RunTime:0.011863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4333445 LIMIT 2 [ RunTime:0.003118s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4333445 ORDER BY `minOrder` ASC [ RunTime:0.000192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4767984 LIMIT 4 [ RunTime:0.002303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767984 ORDER BY `minOrder` ASC [ RunTime:0.001121s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4767984 ORDER BY `unit` DESC [ RunTime:0.010237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4767984 LIMIT 2 [ RunTime:0.008491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767984 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6630516 LIMIT 4 [ RunTime:0.001582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630516 ORDER BY `minOrder` ASC [ RunTime:0.000808s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6630516 ORDER BY `unit` DESC [ RunTime:0.000657s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6630516 LIMIT 2 [ RunTime:0.012466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630516 ORDER BY `minOrder` ASC [ RunTime:0.001327s ]
select * from pdf where partno='SMAJ12AHR3G' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.013407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4782491 LIMIT 4 [ RunTime:0.001574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782491 ORDER BY `minOrder` ASC [ RunTime:0.000769s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4782491 ORDER BY `unit` DESC [ RunTime:0.000435s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4782491 LIMIT 2 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782491 ORDER BY `minOrder` ASC [ RunTime:0.006702s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4770648 LIMIT 4 [ RunTime:0.008294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770648 ORDER BY `minOrder` ASC [ RunTime:0.007050s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4770648 ORDER BY `unit` DESC [ RunTime:0.006002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4770648 LIMIT 2 [ RunTime:0.010620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770648 ORDER BY `minOrder` ASC [ RunTime:0.006491s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4312683 LIMIT 4 [ RunTime:0.003374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312683 ORDER BY `minOrder` ASC [ RunTime:0.006542s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4312683 ORDER BY `unit` DESC [ RunTime:0.005406s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4312683 LIMIT 2 [ RunTime:0.002065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312683 ORDER BY `minOrder` ASC [ RunTime:0.004812s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8648 LIMIT 4 [ RunTime:0.014725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8648 ORDER BY `minOrder` ASC [ RunTime:0.004010s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8648 ORDER BY `unit` DESC [ RunTime:0.000612s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8648 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8648 ORDER BY `minOrder` ASC [ RunTime:0.002664s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001112s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.005888s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16644 LIMIT 4 [ RunTime:0.002291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16644 ORDER BY `minOrder` ASC [ RunTime:0.002075s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16644 ORDER BY `unit` DESC [ RunTime:0.006122s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16644 LIMIT 2 [ RunTime:0.004587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16644 ORDER BY `minOrder` ASC [ RunTime:0.001150s ]
select * from pdf where partno='SMAJ12A' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.002586s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15625 LIMIT 4 [ RunTime:0.000545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15625 ORDER BY `minOrder` ASC [ RunTime:0.002175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15625 ORDER BY `unit` DESC [ RunTime:0.001321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15625 LIMIT 2 [ RunTime:0.001384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15625 ORDER BY `minOrder` ASC [ RunTime:0.001502s ]
select * from pdf where partno='SMAJ12A' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 21648 LIMIT 4 [ RunTime:0.002073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21648 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 21648 ORDER BY `unit` DESC [ RunTime:0.002879s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 21648 LIMIT 2 [ RunTime:0.001170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21648 ORDER BY `minOrder` ASC [ RunTime:0.003451s ]
select * from pdf where partno='SMAJ12A' and brandshort='NA' limit 1 [ RunTime:0.002823s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'NA%' ) ) LIMIT 1 [ RunTime:0.000564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4776547 LIMIT 4 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4776547 ORDER BY `minOrder` ASC [ RunTime:0.001548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4776547 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4776547 LIMIT 2 [ RunTime:0.002260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4776547 ORDER BY `minOrder` ASC [ RunTime:0.005505s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4300 LIMIT 4 [ RunTime:0.001859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4300 ORDER BY `minOrder` ASC [ RunTime:0.004952s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4300 ORDER BY `unit` DESC [ RunTime:0.001953s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4300 LIMIT 2 [ RunTime:0.005314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4300 ORDER BY `minOrder` ASC [ RunTime:0.003268s ]
select * from pdf where partno='SMAJ12A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.002891s ]
select foldpath,foldpath2,filename from pdf_file where id=446702 limit 1 [ RunTime:0.001305s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMAJ12A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.006775s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6659932 LIMIT 4 [ RunTime:0.002320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659932 ORDER BY `minOrder` ASC [ RunTime:0.001996s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6659932 ORDER BY `unit` DESC [ RunTime:0.000303s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6659932 LIMIT 2 [ RunTime:0.002138s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659932 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6659931 LIMIT 4 [ RunTime:0.001158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659931 ORDER BY `minOrder` ASC [ RunTime:0.001746s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6659931 ORDER BY `unit` DESC [ RunTime:0.001666s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6659931 LIMIT 2 [ RunTime:0.000632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659931 ORDER BY `minOrder` ASC [ RunTime:0.000859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6657081 LIMIT 4 [ RunTime:0.000661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6657081 ORDER BY `minOrder` ASC [ RunTime:0.001758s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6657081 ORDER BY `unit` DESC [ RunTime:0.000983s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6657081 LIMIT 2 [ RunTime:0.005640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6657081 ORDER BY `minOrder` ASC [ RunTime:0.000746s ]
select * from pdf where partno='SMAJ12AHE3/61' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.001316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6636960 LIMIT 4 [ RunTime:0.001072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6636960 ORDER BY `minOrder` ASC [ RunTime:0.000767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6636960 ORDER BY `unit` DESC [ RunTime:0.000430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6636960 LIMIT 2 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6636960 ORDER BY `minOrder` ASC [ RunTime:0.003351s ]
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.001685s ]