You attempt to query the database with this command:
SELECT nvl (100 / quantity, NONE)
FROM inventory;
Why does this statement cause an error when QUANTITY values are null?
The expression attempts to divide by a null value
The data types in the conversion function are incompatible
The character string none should be enclosed in single quotes (‘ ‘)
A null value used in an expression cannot be converted to an actual value
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
In an employee table to include the attributes whose value always have some value which of the following constraint must be used?
Solution |
2
Discuss
|
A _____ indicates an absent value that may exist but be unknown or that may not exist at all.
Solution |
3
Discuss
|
The primary key must be
Solution |
4
Discuss
|
Some of these insert statements will produce an error. Identify the statement.
Solution |
5
Discuss
|
If the attribute phone number is included in the relation all the values need not be entered into the phone number column. This type of entry is given as
Solution |
6
Discuss
|
Selects
Solution |
7
Discuss
|
The result of _____unknown is unknown.
Solution |
8
Discuss
|
The predicate in a where clause can involve Boolean operations such as and. The result of true and unknown is_______ false and unknown is _____ while unknown and unknown is _____
Solution |
9
Discuss
|
Using the ______ clause retains only one copy of such identical tuples.
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved