i am doing left join between 2 tables in firebird sql 2.5, and i need to search them as strings with like statement.
it is like :
Table: USER :
ID | NAME | TIME | ADDRESS_FK
.
Table : ADDRESS:
ID | STREET | CITY | COUNTRY
I would like after joining theese 2 tables, to perform search for a matching string on each of the result fields.
- what is the best performance way to do it, or this is the only one possible ?
Example Queries
Country Only
Country and City