본문 바로가기
Java

[MariaDB] 테이블(Table) 인지? 뷰(view)인지 구분하는 쿼리문

by bkuk 2022. 10. 25.

테이블과 뷰를 동시에 출력

show full tables;

 

테이블만 출력

show full tables where table_type = 'base table'

 

뷰만 출력

show full tables where table_type = 'view';

댓글