SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001548s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000446s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001644s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000307s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000919s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000245s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000247s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000153s ]
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.000340s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001412s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'CRCW06031M00FKEA%' AND `status` <> 2 ) [ RunTime:0.000980s ]
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 'CRCW06031M00FKEA%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010658s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001528s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7973581 LIMIT 4 [ RunTime:0.003147s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7973581 ORDER BY `minOrder` ASC [ RunTime:0.000693s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000826s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7973581 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000790s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7973581 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7973581 ORDER BY `minOrder` ASC [ RunTime:0.002528s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8026370 LIMIT 4 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8026370 ORDER BY `minOrder` ASC [ RunTime:0.001822s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8026370 ORDER BY `unit` DESC [ RunTime:0.003493s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8026370 LIMIT 2 [ RunTime:0.003968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8026370 ORDER BY `minOrder` ASC [ RunTime:0.000476s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7960735 LIMIT 4 [ RunTime:0.004727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7960735 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7960735 ORDER BY `unit` DESC [ RunTime:0.002685s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7960735 LIMIT 2 [ RunTime:0.004061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7960735 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2304 LIMIT 4 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2304 ORDER BY `minOrder` ASC [ RunTime:0.001827s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2304 ORDER BY `unit` DESC [ RunTime:0.002457s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2304 LIMIT 2 [ RunTime:0.001607s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2304 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
select * from pdf where partno='CRCW06031M00FKEA' and brandshort='VISHAY' limit 1 [ RunTime:0.000990s ]
select foldpath,foldpath2,filename from pdf_file where id=1523774 limit 1 [ RunTime:0.000162s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001044s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW06031M00FKEA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.005748s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 25447 LIMIT 4 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25447 ORDER BY `minOrder` ASC [ RunTime:0.002772s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 25447 ORDER BY `unit` DESC [ RunTime:0.004302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 25447 LIMIT 2 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25447 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
select * from pdf where partno='CRCW06031M00FKEA' and brandshort='Vishay' limit 1 [ RunTime:0.000404s ]
select foldpath,foldpath2,filename from pdf_file where id=1523774 limit 1 [ RunTime:0.000154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW06031M00FKEA' OR `brand` LIKE 'Vishay%' ) ) LIMIT 1 [ RunTime:0.007578s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'CRCW06031M00FKEA%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.006189s ]