I have a database of info from the pokemon games. One of the tables contains the moves that can be learned by each pokemon. How can I select from this table where a pokemon can learn both of two moves?
My current query is SELECT * FROM 'learned-moves' WHERE 'Version Group'=? AND ('Move'=? OR 'Move'=?);
but this selects all rows that contain either move. How can I only return those rows if they both match?