mysql - SQL Select from multiple tables where Name contains query -



mysql - SQL Select from multiple tables where Name contains query -

i have 3 tables next columns

tablea name description ..... tableb name description .... tablec name description ....

i want select query select name , description these 3 tables if name contains query.

select name, description tablea name '%yoursearch%' union select name, description tableb name '%yoursearch%' union select name, description tablec name '%yoursearch%'

mysql sql

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -