I have a database that consists of two tables, which look like this:
users
userID (PK) | email | password |
photos
photoID (PK) | userID (FK) | directory|
I want to insert a directory path into directory where the userID in users is say 1.
I was checking out SQL on the w3schools but I didn’t know what this type of query is called.
Can anyone suggest the SQL I need to accomplish this query?
or if you actually want to change the directory