Adding sql