J
Josh C.
Hi there guys,
I am trying to devise a query and its just not coming to me. I'm hoping
someone out there can help.
I am trying to create a query that will give me the distinct value from two
columns in the same table. Here is what its like:
Table1: Schools
Columns: school_id, school_abbrev, school_name
Table2: Travel_Log
Columns: log_to, log_from (these are numerics that tie to school_id above)
So I want to create a list of all the schools visited in the travel log, so
I want the distince values of log_to and log_from and then list them out with
their abbreviations and full names in the list. If it were just a distinct
value of one of those columns it would be easy, but I can't figure out how to
get both to work.
I hope that made sense. I would really appreciate any suggesstions.
Thanks in advance,
Josh
I am trying to devise a query and its just not coming to me. I'm hoping
someone out there can help.
I am trying to create a query that will give me the distinct value from two
columns in the same table. Here is what its like:
Table1: Schools
Columns: school_id, school_abbrev, school_name
Table2: Travel_Log
Columns: log_to, log_from (these are numerics that tie to school_id above)
So I want to create a list of all the schools visited in the travel log, so
I want the distince values of log_to and log_from and then list them out with
their abbreviations and full names in the list. If it were just a distinct
value of one of those columns it would be easy, but I can't figure out how to
get both to work.
I hope that made sense. I would really appreciate any suggesstions.
Thanks in advance,
Josh