Question
A question is given, followed by two statements
numbered (I) and (II). You have to decide whether the data provided in the statements is sufficient to answer the question. Read both the statements and select the appropriate answer. Six boxes F, G, H, I, J and K are kept one above the another but not necessarily in the same order. The bottommost box is numbered as 1 st and the topmost box is numbered 6 th . Which box is kept at topmost position? Statements: (I) G is kept three boxes above F. No box is kept below H. I is kept above K, which is kept above J. J is not kept at odd numbered position. (II) I is kept two boxes above F. J is kept just below F. F is kept at prime numbered position. K is kept three boxes above H.Solution
From statement I alone, G is kept three boxes above F. No box is kept below H. I is kept above K, which is kept above J. J is not kept at odd numbered position. Clearly, G is kept at the topmost position. So, statement I alone is sufficient to answer the question. From statement II alone, I is kept two boxes above F. J is kept just below F. F is kept at prime numbered position. K is kept three boxes above H.
Either K or G is kept at the topmost position. So, statement II alone is not sufficient to answer the question. So, data given in statement I alone is sufficient to answer the question while date given in statement II is not.
Which of the following is a key characteristic that distinguishes a PL/SQL `FUNCTION` from a PL/SQL `PROCEDURE`?
Which SQL statement combines the results of two queries and removes duplicates?
Which SQL clause is used to filter records based on aggregate functions?
Which SQL clause is used to filter results after a GROUP BY operation?
Which of the following statements about SQL `INDEXES` is generally TRUE?
Which SQL clause is used for filtering rows?
Given a table employees(id, dept_id, salary), which query returns departments with average salary greater than overall average across the company?
What is the main function of a PL/SQL `TRIGGER`?
Which join returns rows from the left table even when there is no matching row in the right table, filling with NULLs for the right side?
Which SQL clause is used to group rows?