yugabyte=# \! ysqlsh -U yugabyte -h 10.37.1.249 -Atc "SELECT 'SELECT ''' || table_schema || '.' || table_name || '.' || column_name || ''' WHERE EXISTS (SELECT NULL FROM ' || table_schema || '.' || table_name || ' WHERE ' || column_name || '::VARCHAR = ''Jane'');' FROM information_schema.columns WHERE table_schema = 'test' ORDER BY table_schema, table_name, ordinal_position;" | ysqlsh -U yugabyte -h 10.37.1.249 -At
test.table1.name
test.table2.name
test.table3.user_name