hi, I'm trying to do the following join to get information from 3 different tables, it's not too difficult to understand and should be quite self explanatory but it's giving me problems? SELECT forumPosts.username, forumRooms.title, forumRooms.lastPost, user.id FROM forumPosts, forumRooms, user WHERE forumPosts.forumTopic=forumRooms.id AND forumPosts.username=user.username ORDER BY forumPosts.id DESC LIMIT 1 Code (markup): It works but it takes a very long time?
What are the indexes on the tables? Do you have any foreign key relationships? How large are these tables?