Search
 
SCRIPT & CODE EXAMPLE
 

SQL

mysql find tables with name

SELECT table_name 
FROM information_schema.tables 
WHERE table_type = 'base table' AND table_name like '%YOUR TABLE NAME%';
Comment

mysql find tables with column name

SELECT DISTINCT TABLE_NAME 
    FROM INFORMATION_SCHEMA.COLUMNS
    WHERE COLUMN_NAME IN ('columnA','ColumnB')
        AND TABLE_SCHEMA='YourDatabase';
Comment

PREVIOUS NEXT
Code Example
Sql :: SQL order random 
Sql :: psql: error: could not connect to server: No such file or directory 
Sql :: query for all indexes in table postgres 
Sql :: check database name oracle 
Sql :: mysql alter table add index 
Sql :: sql list all procedures 
Sql :: finding duplicate column values in table with sql 
Sql :: mysql CURRENT_TIMESTAMP() 
Sql :: Remove mySQL from ubuntu 20.x 
Sql :: alter table column size oracle 
Sql :: Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. Your result cannot contain duplicates. Input Format The STATION table is described as follows: 
Sql :: mac xampp mysql not starting 
Sql :: sql server version query 
Sql :: log queries postgre 
Sql :: mysql connectorj maven de 
Sql :: sql server connection string in .net core with password 
Sql :: create table oracle 
Sql :: configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path 
Sql :: tsql get beginning of year 
Sql :: linux command line import mysql database 
Sql :: oracle list dblink 
Sql :: import database in mysql command line xampp 
Sql :: oracle check table space 
Sql :: list all permissions on a table in postgres 
Sql :: grab all records from one table to another oracle sql 
Sql :: delete a view sql 
Sql :: oracle list tables 
Sql :: sql get tables from current database you working with 
Sql :: convert float to int sql 
Sql :: wordpress change user password sql 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =