Fixed shortcut completion sql