#region 发送邮件 //填写电子邮件地址,和显示名称 System.Net.Mail.MailAddress from = new System.Net.Mail.MailAddress("xxx@126.com", "wode"); //填写邮件的收件人地址和名称 System.Net.Mail.MailAddress to = new System.Net.Mail.MailAddress("xxx@qq.com", "nid…
1:emp表中查询公司总共有几个部门注意,会查询出来大量重复的,使用函数distinctselect distinct job from scott.emp; 2:查询公司工资在1000-3000之间的人有哪些使用函数between ...and..select * from scott.emp where sal between 3000 and 5000; 3:查询公司没有奖金的人使用null 和“” 不一样select * from scott.emp where comm is null…