S
S
Sergey Panov2018-09-03 13:43:19
MySQL
Sergey Panov, 2018-09-03 13:43:19

How to find a table that has a column?

Good day. There is a column (or field) called pricetour, how do I find which table (column) it is in? The table is large, look is not an option. It is possible somehow request?
Thank you very much in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2018-09-03
@Rsa97

SELECT `table_schema`, `table_name`
  FROM `information_schema`.`columns`
  WHERE `column_name` = 'pricetour'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question