SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002109s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000631s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002432s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000379s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002072s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001659s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 100 LIMIT 1 [ RunTime:0.000793s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 100 [ RunTime:0.002811s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 19 [ RunTime:0.003482s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002646s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 100 ) AND `u`.`lockUser` = '0' [ RunTime:0.001154s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 100 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009281s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('14922','14985','14999','14923','14998','14938','14989','14988','14987','14986') ORDER BY FIELD(s.id, 14922,14985,14999,14923,14998,14938,14989,14988,14987,14986) [ RunTime:0.005119s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003442s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14922 LIMIT 4 [ RunTime:0.000591s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.003261s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001915s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14922 ORDER BY `unit` DESC [ RunTime:0.003530s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005995s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14922 LIMIT 2 [ RunTime:0.001050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.002916s ]
select * from pdf where partno='PIC16F886-I/SS' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002899s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.000601s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002621s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F886-I/SS' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.017096s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14985 LIMIT 4 [ RunTime:0.003637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.001205s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14985 ORDER BY `unit` DESC [ RunTime:0.002915s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14985 LIMIT 2 [ RunTime:0.005092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.002373s ]
select * from pdf where partno='PIC12F1501T-I/MC' and brandshort='MICROCHIP' limit 1 [ RunTime:0.005520s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC12F1501T-I/MC' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.024993s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14999 LIMIT 4 [ RunTime:0.000686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.002259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14999 ORDER BY `unit` DESC [ RunTime:0.016467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14999 LIMIT 2 [ RunTime:0.007310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.002064s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='ST' limit 1 [ RunTime:0.001450s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.023129s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923 LIMIT 4 [ RunTime:0.006445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.007384s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14923 ORDER BY `unit` DESC [ RunTime:0.002540s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14923 LIMIT 2 [ RunTime:0.018478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.002136s ]
select * from pdf where partno='PIC16F887-I/PT' and brandshort='MICROCHIP' limit 1 [ RunTime:0.005595s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.001080s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F887-I/PT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.022276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14998 LIMIT 4 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.002390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14998 ORDER BY `unit` DESC [ RunTime:0.007400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14998 LIMIT 2 [ RunTime:0.011986s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.002273s ]
select * from pdf where partno='STM32F407VET6' and brandshort='ST' limit 1 [ RunTime:0.002788s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.018050s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14938 LIMIT 4 [ RunTime:0.012477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.002346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14938 ORDER BY `unit` DESC [ RunTime:0.012141s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14938 LIMIT 2 [ RunTime:0.005518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.004056s ]
select * from pdf where partno='STM32H743VIT6' and brandshort='ST' limit 1 [ RunTime:0.015890s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32H743VIT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.018999s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14989 LIMIT 4 [ RunTime:0.021106s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14989 ORDER BY `minOrder` ASC [ RunTime:0.002326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14989 ORDER BY `unit` DESC [ RunTime:0.005707s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14989 LIMIT 2 [ RunTime:0.001636s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14989 ORDER BY `minOrder` ASC [ RunTime:0.003583s ]
select * from pdf where partno='LFE2M20E-6FN256C-5I' and brandshort='LATTICE' limit 1 [ RunTime:0.000582s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LFE2M20E-6FN256C-5I' OR `brand` LIKE 'LATTICE%' ) ) LIMIT 1 [ RunTime:0.002751s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14988 LIMIT 4 [ RunTime:0.002951s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14988 ORDER BY `minOrder` ASC [ RunTime:0.018538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14988 ORDER BY `unit` DESC [ RunTime:0.032645s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14988 LIMIT 2 [ RunTime:0.030665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14988 ORDER BY `minOrder` ASC [ RunTime:0.002368s ]
select * from pdf where partno='TMS320DM8127BCYE1' and brandshort='TI' limit 1 [ RunTime:0.002106s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TMS320DM8127BCYE1' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.034879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14987 LIMIT 4 [ RunTime:0.002301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14987 ORDER BY `minOrder` ASC [ RunTime:0.004182s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14987 ORDER BY `unit` DESC [ RunTime:0.007835s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14987 LIMIT 2 [ RunTime:0.005045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14987 ORDER BY `minOrder` ASC [ RunTime:0.002423s ]
select * from pdf where partno='CY8C5868AXI-LP035' and brandshort='CYPRESS' limit 1 [ RunTime:0.002702s ]
select foldpath,foldpath2,filename from pdf_file where id=1087426 limit 1 [ RunTime:0.002031s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CY8C5868AXI-LP035' OR `brand` LIKE 'CYPRESS%' ) ) LIMIT 1 [ RunTime:0.007014s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14986 LIMIT 4 [ RunTime:0.004125s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14986 ORDER BY `minOrder` ASC [ RunTime:0.000744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14986 ORDER BY `unit` DESC [ RunTime:0.002795s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14986 LIMIT 2 [ RunTime:0.008840s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14986 ORDER BY `minOrder` ASC [ RunTime:0.003459s ]
select * from pdf where partno='EP3C120F780C7N' and brandshort='ALTERA' limit 1 [ RunTime:0.005078s ]
select foldpath,foldpath2,filename from pdf_file where id=1114110 limit 1 [ RunTime:0.003498s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EP3C120F780C7N' OR `brand` LIKE 'ALTERA%' ) ) LIMIT 1 [ RunTime:0.014242s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 100 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001160s ]