Tell me - I have a sign in which there is a field "operation code", "code of debit account", "code of credit account". Is it possible to somehow make a request that, depending on the value of the field operation code, the values selected by the account code from different tables? Or it can generally be solved in some other ways. If the operation code is 1, then the score is taken via Join from one table; if 2, then from another table
UNIONbetween these two queries. Provided that these requests give the same fields - Sergey