Search
 
SCRIPT & CODE EXAMPLE
 

SQL

select tables with name like mysql

SELECT table_name
FROM information_schema.tables
Comment

mysql select tables with name like

select table_schema as database_name,
    table_name
from information_schema.tables
where table_type = 'BASE TABLE'
    and table_name like 'cu%'
order by table_schema,
     table_name;
Comment

select all tables from database where table name like mysql

select table_schema as database_name,
    table_name
from information_schema.tables
where table_type = 'BASE TABLE'
    and table_name like 'cu%'
order by table_schema,
     table_name;
Comment

PREVIOUS NEXT
Code Example
Sql :: add timestamp column to existing table t-sql 
Sql :: sql myisam vs innodb 
Sql :: difference between where and having clause 
Sql :: mariadb number format 
Sql :: script to add new column in table sql 
Sql :: oracle alter table add column not null 
Sql :: oracle sql timestamp 
Sql :: how to add default constraint in mysql 
Sql :: create mysql user on all hosts 
Sql :: psql: FATAL: Ident authentication failed for user "postgres" 
Sql :: select tables from mysql database 
Sql :: SQLite order random 
Sql :: sql delete multiple conditions 
Sql :: where to locate set password for mysql 
Sql :: use of now() in mysql 
Sql :: mysql previous year 
Sql :: sql like 
Sql :: make a field auto_increment mysql 
Sql :: datetrunc 
Sql :: select amount weeks between two dates mysql 
Sql :: mysql order by desc null last 
Sql :: select latest entry in sql table 
Sql :: mysql get all tables row count 
Sql :: mysql sort descending 
Sql :: postgres select max value 
Sql :: mysql add root password 
Sql :: rename constraint postgresql 
Sql :: select rows with same value in a column 
Sql :: brew install mysql 8 
Sql :: count columns psql(PostreSQL) 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =