Question
The present ages of βRβ and βSβ are in the ratio
2:3. Five years later, the ratio of their ages will be 3:4. What was the age of βRβ 6 years ago?Solution
ATQ,
Let present ages of R and S be 2x and 3x years.
ATQ:
(2x + 5)/(3x + 5) = 3/4
β 4(2x + 5) = 3(3x + 5)
β 8x + 20 = 9x + 15
β x = 5
So, present age of R = 2x = 10 years
Therefore, age of R 6 years ago = 10 β 6 = 4 years
Which of the following statements about SQL `INDEXES` is generally TRUE?
Which of the following can be used to avoid duplicate entries in a column?
Which SQL clause is used to filter records based on aggregate functions?
In PL/SQL, what type of parameter allows a procedure to both receive a value from the calling environment and return a modified value back to it?
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 operator is used to search for a pattern in a column?
Which operator is used to combine results of two SELECT queries and remove duplicates?
Which SQL statement combines the results of two queries and removes duplicates?
In PL/SQL, what type of parameter allows a procedure to both receive a value from the calling environment and return a modified value back to it?