My two tables:
Entry
event_id competitor_id place
101 101 1
101 102 2
101 201 3
101 301 4
102 201 2
103 201 3
second table lists prizes for participating in events
Prize
event_id place money
101 1 120
101 2 60
101 3 30
102 1 10
102 2 5
102 3 2
103 1 100
103 2 60
103 3 40
From this, I want to show all the information from the Entry table along with the amount of money they won for their reputable placement. If they are not placed in money, then 0 will be displayed.
Any help would be appreciated.
source
share