You will get validation error rather than a QueryException.
As @lostdreamer_nl says, there probably is no fields called name and email in the form since both values are empty in the SQL above. Remember that an input must have a name attribute in order to be submitted.
Your model receives name and email fields as empty and these fields are marked required in the table structure, make sure that you receive both fields with values in the controller from the form.