Mysql
 sql >> Datenbank >  >> RDS >> Mysql

hilfe mit sql select syntax

select u.FirstName, u.SecondName, p.picturePath
from User u
join Friends f
  on f.FriendId = u.UserId
join Pictures p
  on p.UserId = u.UserId
where f.UserId = SessionId ( <-- sessionId is your id)