select columns from 2 tables with foreign key
SELECT user.name, movie.name
FROM user, movie, list
WHERE list.user_id = user.id
AND list.movie_id = movie.id
ORDER BY 1,2;
select columns from 2 tables with foreign key
SELECT user.name, movie.name
FROM user, movie, list
WHERE list.user_id = user.id
AND list.movie_id = movie.id
ORDER BY 1,2;
select columns from 2 tables with foreign key
SELECT user.name, movie.name
FROM user
JOIN list ON list.user_id = user.id
JOIN movie ON list.movie_id = movie.id
ORDER BY 1,2;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us