MySQL Query (ORDER BY other table)
Posted: Sun Dec 04, 2011 1:50 pm
I want to ORDER a query based on a value in a different table.
For example, say the query is
I have another table with a column that holds only a 1 or a 0. So how would I order it by that columns? (the linkname column is the same in both tables)
Anyone know how to do this?
For example, say the query is
Code: Select all
SELECT links FROM table1Anyone know how to do this?