Q. Find the missing clause from the following SQL statement?
CREATE VIEW person_1 AS
SELECT fname, lname, person_id
_________ person;

  • (A) FROM
  • (B) same
  • (C) SELECT
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) FROM
Explanation: FROM: In SQL, the FROM clause is used to specify the table or tables from which data will be selected. In this context, the FROM clause is required to indicate the source table (person) from which the columns fname, lname, and person_id are selected.
Explanation by: Ritu Nagar
FROM: In SQL, the FROM clause is used to specify the table or tables from which data will be selected. In this context, the FROM clause is required to indicate the source table (person) from which the columns fname, lname, and person_id are selected.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
88
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ritu Nagar
Publisher
πŸ“ˆ
94%
Success Rate