How can I insert into table a row which contains an auto incremented field?
The problem is you are using the keyword GROUP as a column name. Drupal's PDO code doesn't always escape column names, so you should avoid using MySQL keywords.

See the MySQL documentation.


  Most of the reserved words in the table are forbidden by standard SQL as column or table names (for example, GROUP).