Chinaunix首页 | 论坛 | 博客
  • 博客访问: 239564
  • 博文数量: 65
  • 博客积分: 1430
  • 博客等级: 中尉
  • 技术积分: 700
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-27 00:30
文章分类
文章存档

2011年(65)

分类: LINUX

2011-09-02 23:32:20

答案:
1.SELECT * FROM mytb2 WHERE Host LIKE '%www'
2.SELECT ZONE,HOST,TYPE,DATA FROM mytb2
3.SELECT ZONE,HOST,TYPE,DATA AS Value FROM mytb2
4.SELECT ZONE,HOST,TYPE,DATA AS Value FROM mytb2 WHERE Host LIKE '%ftp%';
5.SELECT * FROM mytb2 WHERE Zone LIKE '%.net%' OR Zone LIKE '%.org%';
6.SELECT * FROM mytb2 WHERE Host LIKE '%mail%' OR Host LIKE
OR Host LIKE '%*%' OR Host LIKE '%oa%';
7.SELECT Data,count(*) FROM mytb2 GROUP BY Data HAVING count(*) >10;
8.SELECT Zone,UserID,Data FROM mytb2 where Mx_priority != 'null' ORDER BY Zone DESC ;
9.SELECT * FROM mytb2 WHERE Host LIKE '%www' LIMIT 50,100;
10.SELECT DISTINCT Type FROM mytb2;
11.SELECT DISTINCT Zone FROM mytb2;
阅读(1644) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~