add limit to sql syntax