nebakanezer
Technical User
Hi im trying to find twins who were born on the same day, iv tried
select X.surname, X.forenames, X.dob, Y.surname, Y.forenames
from student X, student Y
where X.surname = Y.surname
and X.dob = Y.dob;
and also
select surname,forenames,dob from student
where surname = surname
and dob = dob;
to no avail, any help appreciated.
select X.surname, X.forenames, X.dob, Y.surname, Y.forenames
from student X, student Y
where X.surname = Y.surname
and X.dob = Y.dob;
and also
select surname,forenames,dob from student
where surname = surname
and dob = dob;
to no avail, any help appreciated.