query results doesn't make sense
Posted: Mon 26 May 2014 07:50
I have three tables (webcustomers, weblanden, webtalen). Table webcustomers has 1814 records.
This query
gave me 2018 records. Sometimes I see double records in my results.
I wonder why dbForge is doing it. Even export to a file gave me 2018 records.
I'm using DBforge Studio for MySQL 6.1.166 Standard Edition
This query
Code: Select all
SELECT
webcustomers.customerid,
webcustomers.name,
webcustomers.email,
weblanden.omschrijving AS land,
webtalen.omschrijving AS taal,
webcustomers.landid
FROM webcustomers
INNER JOIN weblanden
ON webcustomers.landid = weblanden.landcode
INNER JOIN webtalen
ON webcustomers.taalid = webtalen.taalcode
ORDER BY webcustomers.landid
I wonder why dbForge is doing it. Even export to a file gave me 2018 records.
I'm using DBforge Studio for MySQL 6.1.166 Standard Edition