ゴルフ データベースのクエリを作成しようとしています。statisticID = 1を持っていて、p2sStatistic > 65も持ってstatisticID = 3いるプレイヤーを返す必要がありp2sStatistic > 295ます。
1つstatisticIDは走行距離、もう1つは精度などです。次のことを試しましたが、うまくいかず、オンラインで答えが見つからないようです。ビューを実行せずにこれを行うにはどうすればよいですか?
SELECT playerFirstName, playerLastName
FROM player2Statistic, player 
WHERE player.playerID=player2Statistic.playerID
AND player2Statistic.statisticID=statistic.statisticID
AND p2sStatistic.3 > 295
AND p2sStatistic.1 > 65; 
http://i.imgur.com/o8epk.png - db の写真
この 2 つの条件を満たすプレイヤーのリストを出力するだけです。