I have two SQL queries, one that uses the other after getting its result.
SELECT users.data from users WHERE users.data2 = value
SELECT mods.data FROM mods WHERE mods.data2 = (result of previous query)
How would I combine these statements? There are similar questions as such, but I'm new to SQL and don't understand them.