updated all contests test sql