Intersect, Minus keywords are absent in My Sql and the work arounds are a) InnerJoin and b) Subqueries or LeftJoin respectively.
Please look into here
Doing INTERSECT and MINUS in MySQL
I have given a shot(Though I am a sql server guy)
Input:
id_user id_movie
101 1
102 2
102 3
104 4
102 5
107 6
102 2
103 3
109 9
110 2
110 3
The output by using an insersect(if run in Sql Server) will be
id_user
102
110
MY SQL Compatible Queries
Query 1: Using Inner join
select distinct a.id_user
from Rating a
join Rating b
on a.id_user = b.id_user
where a.id_movie = 2 and b.id_movie = 3
Query 2: Using Cross join
select distinct a.id_user from Rating a, Rating b
where a.id_user = b.id_user
and a.id_movie = 2
and b.id_movie = 3
Query 3: Using Subquey
Already answered above.