I have two tables, A and B. If record is exist in table B (checking by ID), then I want to get this record from this table (table B). If not exist in table B, then I want to get this record from table A (so most important is getting from table B but if not exist, then get from table A).I have two tables, A and B. If record is exist