Question
The sum of the cost prices of two articles is Rs. 3200.
One article is sold at 25% profit and another at 30% loss. If the sum of their selling prices is Rs. 2890, then find the cost price of the article which is sold at a loss.Solution
ATQ, Let the cost price of the article sold at a loss be Rs. x Therefore, the cost price of the article sold at profit = Rs. (3200 β x) According to the question, 1.25 Γ (3200 β x) + 0.7x = 2890 Or, 1.25 Γ 3200 β 1.25x + 0.7x = 2890 Or, 4000 β 1.25x + 0.7x = 2890 Or, -0.55x = -1110 Or, x = 2020 Therefore, the cost price of the article sold at a loss = Rs. 2020
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?
Recursive CTEs are mainly used for:
To rename a column in a SELECT query result, you use:
Which PL/SQL cursor attribute returns `TRUE` if the most recent `FETCH` statement returned a row, and `FALSE` otherwise?
Which of the following is a key characteristic that distinguishes a PL/SQL `FUNCTION` from a PL/SQL `PROCEDURE`?
Which SQL keyword prevents duplicate rows in result?
Which operator is used to combine results of two SELECT queries and remove duplicates?
What is the result of SELECT COUNT(NULL) on any table?
Which of the following SQL constructs avoids returning duplicate rows?
What is a 'stored procedure' in SQL?