In a table that contains some comments, one of the columns holds the user ID that made this comment, how can I retrieve that user's data with the ID when making a query in the comment table? I know I can do two select one after another, but if possible I would like to retrieve all the data in a select only.
Comments table:
+----------------+-------------+------+-----+---------+
| id_usuario | serie | data | comentario |
+----------------+-------------+------+-----+---------+
| varchar(255) | varchar(255)| date | varchar(255) |
+----------------+-------------+------+-----+---------+
User table:
+----------------+-------------+------+------+
| id_usuario | apelido | email |
+----------------+-------------+------+------+
| varchar(255) | varchar(255)| varchar(255)|
+----------------+-------------+------+------+
How would you select?