I\'m trying to select tables in a mysql database which have the same ending, e.g. staff_name, manager_name, customer_name (example). I was thinking of something along the lines
you can do in 3 way
show tables like '%yourtablename' show tables like '%yourtablename%' show tables like 'yourtablename%'