adplus-dvertising
frame-decoration

Question

What does the following condition do?
check( name in( ‘Ryan’, ‘Cristiano’, ‘Leo’))

a.

The condition checks whether the name attribute includes the three mentioned names

b.

The condition allows the name attribute to possess only the three mentioned names

c.

The condition checks whether the given names are sub-strings in at least one of the values

d.

None of the mentioned

Posted under Advanced SQL DBMS

Answer: (b).The condition allows the name attribute to possess only the three mentioned names

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does the following condition do? check( name in( ‘Ryan’, ‘Cristiano’, ‘Leo’))

Similar Questions

Discover Related MCQs

Q. Referential integrity constraints are also called as _________

Q. ________ is a predicate that we expect the database to always satisfy

Q. State true or false: Oracle does not support complex check conditions

Q. What statement is used to define a new assertion in SQL?

Q. Which of the following is not a valid Date and Time data type?

Q. What is a timestamp?

Q. What does p indicate in the following data type?
time(p)

Q. What is a default value?

Q. Which of the following is an illegal data type in SQL

Q. State true or false: Users can define new data types in SQL

Q. What does the following statement do?
create table temp_inst like institute

Q. Which of the following is a privilege in SQL standard?

Q. The _________ statement is used in SQL to confer authorization.

Q. revoke select on takes from amit;
What does the above query perform?

Q. Which of the following is/are a function of dynamic SQL?

Q. What is the full form of JDBC?

Q. State true or false: Developers cannot write their own functions into SQL

Q. Which of the following are not a part of PL/SQL

Q. The part of SQL that deals with the SQL supports constructs is called as _______

Q. A _________ is a statement that the system executes whenever a database is modified