Question
Select the number from among the given options that can
replace the question mark [?] in the following series. 334, 318, 293, ?, 208, 144Solution
334 - 4² = 324 - 16 = 318 318 - 5² = 318 - 25 = 293 293 - 6² = 293 - 36 = 257 257 - 7² = 257 - 49 = 208 208 - 8² = 208 - 64 = 144
Given a table employees(id, dept_id, salary), which query returns departments with average salary greater than overall average across the company?
Which SQL constraint ensures a column cannot have NULL values?
Which index type is most beneficial for queries that use range predicates (e.g., WHERE age BETWEEN 20 AND 30)?
Recursive CTEs are mainly used for:
Which of the following is true about a foreign key?
Which operator is used to combine results of two SELECT queries and remove duplicates?
Which SQL clause is used for filtering rows?
Which SQL operator is used to search for a pattern in a column?
Which SQL clause is used to filter results after a GROUP BY operation?
Which SQL keyword removes duplicate rows automatically from results?