start query for generating cyana shifts