I have query like this,
Select f.* from fuel_log f
where f.transaction_date='2006-05-28 00:00:00'
order by f.driver.full_name;
My problem is, i am not able to order by using f.driver.full_name
. It says no such column. However, that's correct because, driver
is reference column in fuel_log
table. Here i am trying to sort based on values in driver table which is causing a problem. May i know how can in sort based on values in reference table column?. Thanks in advance.