Problem:
I have two tables and those two table have one field in common which is "S_ID"
first table have 2 fields:
"S_ID", "T_ID"
second table have these fields:
"S_ID", "First", "Last"
----------------------------------
What i want to do is that i need to extract the the field "S_ID" from the first table and order them by the field "Last" which is in the other table.
any one know how i can do that in one or 2 query.
Also I am using php.