Question
A shopkeeper made a profit of 50% by selling an article
for Rs. 300. If he had sold it after allowing a discount of 20% on its selling price, then find the profit that the shopkeeper wouldβve made in this transaction.Solution
Cost price of the article = 300 Γ· 1.50 = Rs. 200 New selling price of the article = 300 Γ 0.80 = Rs. 240 New profit = 240 β 200 = Rs. 40
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?