I have two tables which are linking together by primary key... as an example
Genre
-----
GenreID
GenreDescription
Track
-----
TrackID
GenreID
TrackName
I want to show like the following
TrackID Name Genre
1 Track1 Pop
2 Track2 Pop
3 Track3 Rap
4 Track4 Rock
How can I write custom SQL statements and add the fields into the database? At the moment, I can only choose Table, View, SP and Func from the Database. Where should I write custom SQL statements and join the required tables?
Thanks.