Hello everyone,
I am trying write a sql statement that would give me the student id for everyone in the room.
There are 3 students in a room , I know the student ID of 1
student.
I believe I need to compare the movein and moveout dates
with this (Student = 10056936), not really sure how to proceed. Please help if you can, thank you for taking time.
I have the students movein date and moveout date.
SELECT Student, Building,Dorm,Room, MOVEIN, MOVEOUT
FROM pps_housingchanges
WHERE (Student = 10056936)
I am trying write a sql statement that would give me the student id for everyone in the room.
There are 3 students in a room , I know the student ID of 1
student.
I believe I need to compare the movein and moveout dates
with this (Student = 10056936), not really sure how to proceed. Please help if you can, thank you for taking time.
I have the students movein date and moveout date.
SELECT Student, Building,Dorm,Room, MOVEIN, MOVEOUT
FROM pps_housingchanges
WHERE (Student = 10056936)