SQL Test:
Student Attendance sheet:
[Link] Name Date Attendance
1. Amit 1/1/2021 Present
2. Ravi 1/1/2021 Absent
3. Amit 2/1/2021 Present
4. Ravi 2/1/2021 Absent
5. Amit 3/1/2021 Absent
6. Ravi 3/1/2021 Present
7. Amit 4/1/2021 Absent
8. Ravi 4/1/2021 Present
Using the above Above Attendance Sheet show the Students who are Absent last two days:
Example like:
[Link]. Name Last 2 days Absent
1. Amit Yes
2. Ravi No
Write your own SQL code to achieve reort to show students who are last two days absent.