Mysql Commands

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

mysql -h hostname -uusername -ppassword database;

desc tablename;
use databasename;
show databases;
show tables;
select COLUMN_NAME from information_schema.COLUMNS where TABLE_NAME='student';//
display only column

You might also like