随笔分类 - 数开学习
摘要:#1.创建数据库test01_office,指明字符集为utf8。并在此数据库下执行下述操作 create database if not exists test01_office character set 'utf8'; #2.创建表dept81 /* 字段 类型 id INT(7) NAME
阅读全文
摘要:1.查询和Zlotkey相同部门的员工姓名和工资 select first_name , last_name , salary from employees e where department_id = (select department_id from employees e2 where l
阅读全文
摘要:【题目】 1.where子句可否使用组函数进行过滤? select max(salary), min(salary), avg(salary), sum(salary) from employees e ; 2.查询公司员工工资的最大值,最小值,平均值,总和 select max(salary),
阅读全文

浙公网安备 33010602011771号