### SQL: select t1.gid,t1.gname,t1.gvalue,t1.gtype, t1.gaddress,t1.gmembers, t1.gcode,t1.gphone, t2.cid ,t2.cname,t2.cgcode from group t1,customer t2 where t1.gcode = t2.cgcode and t1.gid=4; ### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxError…