试题详情
- 单项选择题 Click the Exhibit button to examine the structures of the EMPLOYEES and TAX tables. You need to find the percentage tax applicable for each employee. Which SQL statement would you use?()
A、SELECT employee_id, salary, tax_percent FROM employees e JOIN tax t ON e.salary BETWEEN t.min_salary AND t.max_salary;
B、SELECT employee_id, salary, tax_percent FROM employees e JOIN tax t WHERE e.salary > t.min_salary AND < t.max_salary;
C、SELECT employee_id, salary, tax_percent FROM employees e JOIN tax t ON (MIN(e.salary) = t.min_salary AND MAX(e.salary) = t.max_salary);
D、You cannot find the information because there is no common column between the two tables.
- A
关注下方微信公众号,在线模考后查看
热门试题
- TheSTUDENT_GRADEStab
- Which Man class prop
- Given: Which e
- 当需要创建用户时,可以使用如下()语句来
- Which three
- You have
- You enabled&en
- The DBA issues this
- ()是Oracle维护数据库中其他文件的
- User SCOTT&ens
- Evaluate this SQL s
- 以下的PL/SQL声明哪个是正确的?()
- Which two̳
- Which two statements
- To enable faster inc
- While selectin
- Your database has e
- EMPLOYEES and DEPAR
- When should you crea
- A team of