Fixed a small mistake in the sql