homework of 862:Datebase