Skip to content
Advertisement

I can’t get around INNER JOIN in MySQL

I have two tables in my database. One of which is a table called players and the other one is bans:

What I need to do is: select players that where reason = cheating and Score < 250.

I tried doing some JOINS when I tried FULL JOIN I found that thing doesn’t exist in MySQL so any help would be good, thanks in advance!

I also tried it like this but I always get zero rows

BANS TABLE

PLAYERS TABLE

Advertisement

Answer

You query is a good start. For your sample data, it will give you results. To meet your requirement, you just need a few additional filters:

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement