I\'m new to SQL. I have a simple problem with getting the results from two different tables.
I have two tables in a database. The first table has a column with an id
You want a JOIN:
SELECT u.id, username, groupname FROM TABLE_USERS AS u LEFT JOIN TABLE_GROUPS AS g ON u.group = g.id