ExamVeda
Login
Home
This question belongs to MySQL MySQL Miscellaneous
MySQL Miscellaneous
?

What will be the output of the following SQL statement?
SELECT  * FROM person
WHERE person_id=1;

Answer & Solution
Correct Answer: Option A
The given SQL statement is a SELECT query that retrieves data from the "person" table where the "person_id" column equals 1. The WHERE clause filters the rows to only those where person_id=1. Therefore, the query will return all columns, but only the rows where person_id=1. Hence, Option A is correct.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.