tab1
| id | description |
-------------------------
| 1 | lake |
| 2 | moon |
| 3 | sun |
| 4 | mars |
tab2
| id | description |
-------------------------
| 1 | home |
| 2 | top |
| 3 | cat |
| 4 | dog |
tab3
| id | description |
-------------------------
| 1 | home |
| 2 | car |
| 3 | yea |
| 4 | flower |
I would like, with a SQL query, verify "string" exit in the field "description
" in one of these tables.
I use Php and I need to know if the row exist, and if yes, where the record has been found.