Added Query 5 and changed serialNum to char type