edited by
1,607 views

1 Answer

4 votes
4 votes

Here ans should be 0

 number salary
1 100
2 200
3 300
4 400
5 500
6 600
7 700
8 800
9 900
10 1000

first inner query will execute and result will be {100,200,300,400,500,600,700,800,900.1000}

then outer query execute but in count number of employee whose salary greater  than {100,200,300,400,500,600,700,800,900.1000}. this condition will be false because  no salary greater than all these salary so ans will be 0.

 where x> {100,200,300,400,500,600,700,800,900.1000} this is false

find number of employee whose salary greater than all  given salary.( english version of above query)

ans 0

 

 

Answer:

Related questions

1 votes
1 votes
3 answers
1
1 votes
1 votes
1 answer
2
admin asked Apr 1, 2020
901 views
E-R model uses this symbol to represent weak entity set?Dotted rectangleDiamondDoubly outlined rectangleNone of these
1 votes
1 votes
3 answers
3
admin asked Apr 1, 2020
1,042 views
What is the modality of relationship, if there is no explicit need for relationship to occur?ZeroTwoThreeOne