I have a visits and a ads table.
I need every match from the visits table where the visits.aid = ads.id where the ads.uid=1.
The actually query works, but I get everytime only 1 row from the visits table back and I need every selected row not just only one.
SELECT a.* FROM visits a INNER JOIN ads b ON a.aid = b.id WHERE b.uid = '1'