that's correct
do you know what a cross join is? that's where each row of one table is matched with every row from the other table
so if table1 has N rows, and table2 has M rows, then the cross join will have N x M rows
you can filter out some of these N x M rows, by having conditions in the WHERE clause
but unless you join specific rows to specific rows, it's still a cross join
try changing this --
Code:
from betstable as b, user_id_groupname as g
to this --
Code:
from betstable as b
inner
join user_id_groupname as g
on ...
and put something meaningful into the ON clause