Question
Find the wrong number in the given number series.
3, 8, 26, 102, 398, 1639Solution
ATQ,
Each term: previous Γ 4 - a number increasing by 2
3 Γ 4 - 4 = 8
8 Γ 4 - 6 = 26
26 Γ 4 - 8 = 102
102 Γ 4 - 10 = 398
398 Γ 4 - 12 = 1580 β Should be 1580, not 1639
So the correct number is 1580, and Wrong number is: 1639
Which of the following is a key characteristic that distinguishes a PL/SQL `FUNCTION` from a PL/SQL `PROCEDURE`?
Given a table employees(id, dept_id, salary), which query returns departments with average salary greater than overall average across the company?
What is the main function of a PL/SQL `TRIGGER`?
Which operator is used for pattern matching in SQL?
Which SQL constraint ensures a column cannot have NULL values?
Which of the following is a key characteristic that distinguishes a PL/SQL `FUNCTION` from a PL/SQL `PROCEDURE`?
Which type of trigger fires once for each row affected by the triggering DML statement?
Which SQL command is used to remove a table completely?
Which SQL function returns the number of rows in a table?
Which SQL keyword is used to remove duplicate records from a query result?