recategorized by
2,569 views
3 votes
3 votes

The $SQL$ Expression Select distinct $T$. branch name from branch $T$, branch $S$ where $T$. assets $> S$. assets and $S$. branch-city = DELHI, finds the name of

  1. All branches that have greater asset than any branch located in DELHI.
  2. All branches that have greater assets than allocated in DELHI.
  3. The branch that has the greatest asset in DELHI.
  4. Any branch that has greater asset than any branch located in DELHI.
recategorized by

2 Answers

Best answer
2 votes
2 votes

SELECT distinct TT. branch name

From branch TT, branch SS 

Where TT. assets >SS.assets and SS.branch-city = DELHI

Return : Any branch that has greater asset than any(any one )  branch located in DELHI.

selected by
1 votes
1 votes
Here S is located in delhi, and S could me many ,,for say 3 branched in delhi  asset =30,40,50  and T has 40,60now according to query t.asset>s.asset and here 40>30 and 60>all s

any T that is larger than any S will be printed

 

D is the correct answer

Related questions

2 votes
2 votes
1 answer
1
makhdoom ghaya asked Aug 17, 2016
1,519 views
Which of the following statements is true, when structure of database file with 20 records is modified ?? EOF ( ) Prints. T? BOF ( ) Prints F? BOF ( ) Prints T? EOF ( ) P...
1 votes
1 votes
0 answers
2
makhdoom ghaya asked Aug 17, 2016
1,342 views
Which command classes text file, which has been created using "SET ALTERNATIVE" "Command" ?SET ALTERNATE OFFCLOSE DATABASECLOSE ALTERNATECLEAR ALL
3 votes
3 votes
2 answers
3
makhdoom ghaya asked Aug 17, 2016
3,778 views
What deletes the entire file except the file structure ?ERASEDELETEZAPPACK
2 votes
2 votes
3 answers
4
makhdoom ghaya asked Aug 17, 2016
2,508 views
Data security threats includePrivacy invasionHardware failureFraudulent manipulation of dataEncryption and decryption