SELECT * FROM quick INNER JOIN sites_sit WHERE quick.id = 506 AND quick.idsit_site_ned = sites_sit.id_sit
MySQL Inner Join Query...
Started by Lop, Dec 21 2006 06:40 AM
3 replies to this topic
#1
Posted 21 December 2006 - 06:40 AM
Why does this not work on Linux MySQL but works fine on Windows MySQL?
|
|
|
#2
Posted 23 December 2006 - 02:04 PM
Try removing the inner join and putting just a comma between the two tables. This is short-hand. It may work.
#3
Posted 10 January 2007 - 06:16 AM
Worked! Thanks!
#4
Posted 11 January 2007 - 01:03 PM
Standard SQL would be:
SELECT * FROM quick INNER JOIN sites_sit on (quick.idsit_site_ned = sites_sit.id_sit) WHERE quick.id = 506


Sign In
Create Account


Back to top









