Hello, for some reason when input this query:
SELECT routes.routeid, depart.departcode, arrive.arrivecode
FROM routes, depart, arrive
WHERE routes.routeid = \"1\";
Instead of getting 1 result (the actual amount) I get (15376 total), thats alot more then there really are in the tables.
Here is some of the weird results I recieve:
routeid departcode arrivecode
1 YPAD YPAD
1 YMAY YPAD
1 YBAS YPAD
1 NSFA YPAD
1 YARM YPAD
1 NZAA YPAD
1 YAYE YPAD
1 YBNA YPAD
1 VTBD YPAD
1 YBAR YPAD
1 ZBAA YPAD
1 YBCK YPAD
1 YBTR YPAD
1 KBOS YPAD
1 YBBN YPAD
1 YBRM YPAD
1 SAEZ YPAD
1 YBUD YPAD
1 YWYY YPAD
1 YBCS YPAD
1 YSCB YPAD
1 YBCV YPAD
1 KORD YPAD
1 NZCH YPAD
1 YSCH YPAD
1 YCOM YPAD
1 KDFW YPAD
1 YPDN YPAD
1 WRRR YPAD
1 YDPO YPAD ....
Really their should be only one result which is : 1 YPAD YBAS
Has anyone encounted this problem when quering many tables and how do you overcome it? Thanx