adplus-dvertising
frame-decoration

Question

Which of the following is the correct format for if statement ?

a.

If boolean expression
then statement or compound statement
elseif boolean expression
then statement or compound statement
else statement or compound statement
end if

b.

If boolean expression
then statement or compound statement
elsif boolean expression
then statement or compound statement
else statement or compound statement
end if

c.

If boolean expression
then statement or compound statement
elif boolean expression
then statement or compound statement
else statement or compound statement
end if

d.

If boolean expression
then statement or compound statement
else
statement or compound statement
else statement or compound statement
end if

Posted under DBMS

Answer: (a).If boolean expression
then statement or compound statement
elseif boolean expression
then statement or compound statement
else statement or compound statement
end if

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is the correct format for if statement ?

Similar Questions

Discover Related MCQs

Q. A stored procedure in SQL is a___________

Q. Temporary stored procedures are stored in _________ database.

Q. Declare out of classroom seats condition

DECLARE exit handler FOR OUT OF classroom seats
BEGIN
SEQUENCE OF statements
END

The above statements are used for

Q. Trigger are supported in

Q. Which of the following is NOT an Oracle-supported trigger?

Q. What are the different in triggers ?

Q. Triggers ________ enabled or disabled

Q. Which prefixes are available to Oracle triggers?

Q. Any recursive view must be defined as the union of two subqueries: a _______ query that is nonrecursive and a __________ query.

Q. Ranking of queries is done by which of the following ?

Q. In rank() function if one value is shared by two tuples then

Q. The __________ function that does not create gaps in the ordering.

Q. SELECT ID, GPA
FROM student grades
ORDER BY GPA
____________;

Inorder to give only 10 rank on the whole we should use

Q. If there are n tuples in the partition and the rank of the tuple is r , then its ________ is defined as (r āˆ’1)/(nāˆ’1) .

Q. Inorder to simplify the null value confusion in the rank function we can specify

Q. Suppose we are given a view tot credits (year, num credits) giving the total number of credits taken by students in each year.The query that computes averages over the 3 preceding tuples in the specified sort order is

Q. The functions which construct histograms and use buckets for ranking is

Q. The command ________________ such tables are available only within the transaction executing the query, and are dropped when the transaction finishes.

Q. OLAP stands for

Q. Data that can be modeled as dimension attributes and measure attributes are called _______ data.