fix sql syntax - there is a space missing

@MorrisJobke