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.
Tara Sports Limited, an entity engaged in the manufacturing and trading of sports equi pment, received dividends from its investment in shares . While p...
The National Company Law Appellate Tribunal (NCLAT) recently approved the transfer of ownership of Jet Airways to which consortium, upholding the Nation...
Consider the following statements regarding the Minimum Support Price (MSP) system in India:
I. MSP is the rate at which the government purcha...
As per the Economic Survey 2021-22, what is the share of industry in GVA estimated at for 2021-22?
Under which of the following’s administrative control does ECGC come?
Which of the following ministry recently launched the Citizen Perception Survey-2022?
The National Stock Exchange (NSE) and its arm -- NSE Clearing (NCL) -- has agreed to pay a total of ______ to settle the case pertaining to the February...
Which of the following would not be a good reason for a company to repurchase shares of its own stock ?
Under the Pradhan Mantri Vaya Vandana Yojana (PMVVY), if the policy is surrendered anytime during the term of the policy under exceptional circumstance ...
India offers $40 mn line of credit to boost sports infrastructure in which of the following Asian country?