Question
CREATE OR REPLACE VIEW high _ salary _ employees AS
SELECT employee _ id, salary FROM employees WHERE salary > 50000; Which statement about the view high _ salary _ employees is true?Solution
A SQL view is a virtual table that reflects the results of a query in real-time. 1. Dynamic Nature: A view does not store data itself but retrieves data dynamically from the underlying table when queried. 2. Purpose: The high _ salary _ employees view reflects any updates made to the employees table that meet the specified condition (salary > 50000). 3. Real-Time Updates: Changes to the employees table are automatically visible in the view without needing to recreate it. This behavior makes views ideal for abstraction and encapsulation in SQL. Why Other Options Are Incorrect: • A) The view stores a copy of the data in the database: A view is virtual and does not store data physically. • B) The view must be recreated if the employees table is updated: The view dynamically reflects updates to the employees table. • D) The view can be used to perform DML operations directly on employees: Views are read-only unless explicitly defined as updatable. • E) The view is static and cannot be updated: Views are dynamic and reflect real-time data.
What is the theme for World No Tobacco Day 2024?
PwD App 2.0 with more user friendly & accessible features launched by_____.
Priority Sector Lending by banks in India constitutes the lending to
In the 117th episode of 'Mann Ki Baat,' which district's malaria control model did Prime Minister Modi praise? Â
What was the percentage decline in private sector investment plans in Q3 of 2024-25?
Which of the following organization gets DSCI AISS Award for ‘Best Security Practices in Government Sector’?
Recently President of India has been appointed ________ as the new Chief Justice of India (CJI) with effect from November 9, 2022.
How much investment does India aim to achieve in the maritime sector by 2027, as discussed with Japan?
Who is the First indian recipient of Indira Gandhi Peace prize?
What was the Worker Population Ratio (WPR) at the all-India level in June 2025?