Skip to content

USER

SELECT *
FROM students
WHERE grade = 'A';
| Student_ID | Name | Grade |
|------------|-------|-------|
| 1 | Alice | A |
| 3 | Emma | A |
| 6 | Mike | A |

In the provided SQL query, we select all fields from the ‘students’ table where the grade is ‘A’. The output is formatted into markdown to display the data in a table format. It shows that students with ID 1, 3, and 6, called Alice, Emma, and Mike respectively, have a grade ‘A’.