Question
The cost price of 20 mangoes is Rs.208. Because of bad
quality of mangoes, the shopkeeper has to sell mangoes at a loss that is equal to selling price of 6 mangoes. Find the price at which the mangoes were sold.Solution
Let the selling price of one mango be Rs. x So, the selling price of 20 mangoes = Rs.20x Now, => 20x = 208 β 6x => x = 8 Therefore the selling price of 20 mangoes = 20 Γ 8 = Rs.160
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?