Question
Four of the following five are alike in a certain way as
per the given arrangement and hence form a group, which one of the following does not belong to that group? Study the following information carefully and answer the questions given below: Seven persons J, K, L, M, N, O and P are sitting in a row facing towards the north but not necessarily in the same order. Each one of them likes different cities i.e., Jaipur, Pune, Dehradun, Delhi, Punjab, Noida and Lucknow but not necessarily in the same order. The one who sits immediate right of M likes Lucknow. M sits 2nd from one of the extreme ends. Only one person sits between M and L. J sits 4th to the left of P, who sits adjacent to L. Only one person sits between O and P, who likes Dehradun. More than three persons sit between J and O. More than two persons sit between the one who likes Dehradun and the one who likes Delhi. K sits to the left of N. K is not an immediate neighbor of J. Neither M nor L likes Noida. The one who likes Jaipur sits 3rd to the left of the one who likes Noida. N does not like Pune.Solution
As per the given information, the one who sits immediate right of M likes Lucknow. M sits 2ndfrom one of the extreme ends. Only one person sits between M and L. Here we have two possible cases i.e.
J sits 4th to the left of P, who sits adjacent to L. Only one person sits between O and P, who likes dehradun.
More than three persons sit between J and O. K sits to the left of N. More than two persons sit between the one who likes dehradun and the one who likes Delhi.
K is not an immediate neighbor of J. Here Case 1 gets eliminated. Neither M nor L likes noida. The one who likes Jaipur sits 3rd to the left of the one who likes noida. N does not like Pune. So the final arrangement will be, 
Which of the following is a key characteristic that distinguishes a PL/SQL `FUNCTION` from a PL/SQL `PROCEDURE`?
Which of the following statements about SQL `INDEXES` is generally TRUE?
What is the correct sequence of operations for using an explicit PL/SQL cursor?
Which clause is used to sort query results in SQL?
Which command removes all rows but keeps table structure?
Which type of index physically reorders the data rows in the table itself based on the index key, meaning the data is stored in the order of the index?
Which of the following is a mandatory component of a PL/SQL function's definition?
In SQL, the ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW clause applies to:
Which SQL constraint ensures that a column’s values are unique across the table?
Which SQL keyword prevents duplicate rows in result?