I'm creating raw MySQL queries to insert into my DB using the Laravel 'DB' facade. I've gotten this same type of query to work with another database table, but it's throwing errors on this specific one.
1 PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group,originating_attorney,practice_area,responsible_attorney,statute_of_limitat' at line 1")
/home/vagrant/Code/proj/vendor/laravel/framework/src/Illuminate/Database/Connection.php:452
2 PDO::prepare("INSERT INTO firm_matters(id,etag,display_number,custom_number,description,status,location,client_reference,billable,maildrop_address,billing_method,open_date,close_date,pending_date,client,contingency_fee,custom_rate,group,originating_attorney,practice_area,responsible_attorney,statute_of_limitations,user,account_balances,custom_field_vals,custom_field_set_associations,created_at,updated_at) VALUES (...)
I've checked the reserved keywords for MySQL and I don't think I'm violating any rules. Could someone more versed in MySQL check to see if my query is correct.