Combine two tables into one table
问题 I need to join user table with all user images in one row, like this table user +----+---------------+ |id | name | +----+---------------+ | 1 | Mike | | 2 | Jerry | | .. | ..... | +----+---------------+ table image +------+---------+---------+ | id | user_id | img | +------+---------+---------+ | 1 | 1 | img_1 | | 2 | 1 | img_2 | | 3 | 1 | img_3 | | 4 | 2 | img_4 | | .. | .... | ..... | +------+---------+---------+ I need to generate SQL results like this +------+--------+----------+--------