[code] Select name from instructor where salary <= 100000 and salary >= 90000;[/code] This query can be replaced by which of the following

Thành Nguyễn

New member
Code:
Select name
from instructor
where salary <= 100000 and salary >= 90000;
This query can be replaced by which of the following ?
A.
Code:
Select name
from instructor
where salary between 90000 and 100000;
B.
Code:
Select name
from employee
where salary <= 90000 and salary>=100000;
C.
Code:
Select name
from employee
where salary between 90000 and 100000;
D.
Code:
Select name
from instructor
where salary between 100000 and 90000;
 
Answer: a
Explanation: SQL includes a between comparison operator to simplify where clauses that specify that a value be less than or equal to some value and greater than or equal to some other value.
 

Tìm kiếm

Back
Top