Which of the following is the correct format for case statements.
CASE
WHEN pred1 ... result1
WHEN pred2 ... result2
. . .
WHEN predn ... resultn
ELSE result0
END
CASE
WHEN pred1 THEN result1
WHEN pred2 THEN result2
. . .
WHEN predn THEN resultn
ELSE result0
END
CASE
WHEN pred1 THEN result1
WHEN pred2 THEN result2
. . .
WHEN predn THEN resultn
ELSE result0
All of the mentioned
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
_________ are useful in SQL update statements, where they can be used in the set clause.
Solution |
2
Discuss
|
Which of the following deletes all tuples in the instructor relation for those instructors associated with a department located in the Watson building which is in department relation.
Solution |
3
Discuss
|
Which of the following is used to insert a tuple from another relation?
Solution |
4
Discuss
|
The problem of ordering the update in multiple updates is avoided using
Solution |
5
Discuss
|
Fill in with correct keyword to update the instructor relation.
Solution |
6
Discuss
|
Which of the following relation updates all instructors with salary over $100,000 receive a 3 percent raise, whereas all others receive a 5 percent raise.
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved