I don't really understand exactly what you want to do considering you're talking about a table called "courses" and "courseaims" but show us code related to "trainingtopics". And "courses" is not a table but a database name.
Yes, there is a way to select more than one table, but there's lots of ways to do it depending on what result you want, and if there's a common column that can link the two together.
Learn about joins at this tutorial and maybe you can then figure it out for yourself:
http://www.keithjbrown.co.uk/vworks/mysql/mysql_p5.shtml
hth.