better errors when given no data in sql mode