Home > database > Big problem solving genuflect is begged
Big problem solving genuflect is begged
Time:10-10
The role of the following statements is:
SELECT ename, sal FROM emp
WHERE sal<(SELECT min (sal) FROM emp) + 1000.
A. displays information about the employee salary less than 1000 yuan
B. will employee salary less than 1000 yuan of salary increase after 1000 shows
C. show that more than the minimum wage of 1000 yuan of employee information
D. show no more than the minimum wage of 1000 yuan of employee information
CodePudding user response:
D
Other: simple SQL, if you don't understand that you will have endless questions to ask
CodePudding user response:
SELECT ename, sal FROM emp
WHERE sal<(SELECT min (sal) FROM emp) + 1000.
A. displays information about the employee salary less than 1000 yuan SELECT ename, sal FROM emp WHERE sal & lt; 1000; B. will employee salary less than 1000 yuan of salary increase after 1000 shows SELECT ename, sal + 1000 FROM emp WHERE sal & lt; 1000; C. show that more than the minimum wage of 1000 yuan of employee information SELECT ename, sal FROM emp WHERE sal<(SELECT min (sal) FROM emp) + 1000. D. show no more than the minimum wage of 1000 yuan of employee information SELECT ename, sal FROM emp WHERE sal> (SELECT min (sal) FROM emp) + 1000.