in SQLite with C# I want to do
SELECT * FROM media WHERE mediaId= for each
SELECT mediaId FROM fav WHERE userId=1 ORDER BY indx DESC LIMIT 0, 100
The syntax is obviously incorrect. I have no idea how to use the param from one select statement in another.