Answer the question
In order to leave comments, you need to log in
How to write an SQL query, searching for the maximum match with a value?
There are two tables :
wp_konkurs_bets
wp_konkurs
Need among all wp_konkurs records to find the id whose user_bet field matches the bet_val field value in the wp_konkurs table as much as possible and the user_time time is the earliest , how to write such a query ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question