i have two tables in database
users{id, username, email, etc...}
photos{photo_description, uploaded_on, uploaded_by,etc...}
each time the page loads, i display all the images and details except username
now i need to get the usernames of the uploaders of the photos i have in photos db, i have only the ids of the users...
i tried to join the tables, but i am worried that there are more than 10k users, but hardly hundreds of them uploaded pics.
help with sql query to get the result quickly