• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

advanced query

New Here ,
Nov 09, 2006 Nov 09, 2006

Copy link to clipboard

Copied

Gday to you all

hope someone can help, i have a query i need which i am not sure of

i have 2 tables

Table 1
PlayerID
PlayerName

Table2
Answer
QuestionID
MatchID

the query i need is to show Table1.PlayerName where

Table1.PlayerID = Table2.Answer
AND
Table2.QuestionID = 1
AND
Table2.MatchID = 1

can someone help me with this

Thanks
TOPICS
Advanced techniques

Views

233

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 09, 2006 Nov 09, 2006

Copy link to clipboard

Copied

LATEST
SELECT Table1.PlayerID _User
FROM Table1 INNER JOIN Table2 ON Table1.PlayerID = Table2.Answer
WHERE Table2 .QuestionID = 1 AND Table2 .MatchID = 1

I hope this helps
Chris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation