DB QUERY ERROR : error in executing SQL -->You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND CountryFrom=ff.Country_ID AND CountryListed=tt.Country_ID ...' at line 5

SELECT f.*, ff.Currency as fromCurrency,ff.Currency100 as fromCurrency100, tt.Currency as toCurrency,tt.Currency100 as toCurrency100 FROM fa f, currency ff, currency tt WHERE f.Company= AND CountryFrom=ff.Country_ID AND CountryListed=tt.Country_ID AND status = 0 Order by DateReleased Desc