Creating GAGetMaxContactId SQLQuery