SQLcodes
SQLcodes
show databases;
A specific example:
To drop a database:
To use a database:
USE <database-name>;
SHOW tables;
DESC cats;
To drop a table:
View tables:
SHOW TABLES;
DESC pastries;
Insert a cat:
And another:
-- Multiple Insert:
SHOW TABLES;
DESC cats3;
);
-- Another option:
);
-- AUTO_INCREMENT
-- A test INSERT: