Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE useracct ( name VARCHAR, u_id VARCHAR )
TABLE: CREATE TABLE review ( rating INTEGER, u_id VARCHAR )

### Question ###
For each user, return the name and the average rating of reviews given by them.

### Accurate SQL ###

SELECT T1.name, AVG(T2.rating) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id