Jump to content

How to select from mysql where one column value is higher


t_machine

Recommended Posts

I hope someone can help with this problem.

 

I have a table that stores vote count with the following columns: tournament_id,  player_1 and player_2.

How can I select from my table all "tournament_ids" where "player_1" has more votes than "player_2"

 

Thanks :)

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.