Question
The average mark obtained by 120 candidates in a certain
examination is 40. If the average marks of passed candidates are 45 and that of the failed candidates is 20, then what is the number of candidates who passed in the examination?Solution
According to question, => 45 Γ x + 20 Γ (120 β x) = 120 Γ 40 => 45x + 2400 β 20x = 4800 => x = 96
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?