I'm trying to create a MySQL query to select two teams
Using the query below I keep getting this error and its not something I've come across before, google seems to offer a variety of answers but I'm unable to relate the fix to my query.
SELECT
m.idm,
m.buteq1,
m.buteq2,
tf.eq_name,
ts.eq_name
FROM wpap_match m
INNER JOIN wpap_equipes tf
on tf.eq_name = tf.id
INNER JOIN wpap_equipes ts
on ts.eq_name = ts.id
Result:
Warning: #1292 Truncated incorrect DOUBLE value: 'ESS'
Can any one help to fix this ?