I would like to know if it it possible to use for example an "INNER JOIN" with two table which have different field names.
Here is an example of my problem:
I have a table called virtuemart_orders where there is a field called order_status and which in this field the values are (P, R, X, C).
Then I have another table which is called virtuemart_orderstatus with a field named order_status_code with the values (P, R, X, C).
The thing is that I would like to be able to join these two tables using these fields because they are the only ones which seem more or less alike.
Would this be possible without having to change the name of the fields or anything else?