1.3 Managing databases Flashcards
database system instance
single executing copy of a database system
CREATE DATABASE DatabaseName
creates a new database
DROP DATABASE DatabaseName
deletes a database, including all tables in the database.
SHOW statement
provides database users and administrators with information about databases, the database contents (tables, columns, etc.), and server status information.
SHOW DATABASES
lists databases available in the database system.
SHOW TABLES
lists tables available in the currently selected database
SHOW COLUMNS
lists columns available in a specific table named by a FROM clause
SHOW CREATE TABLE
shows the CREATE TABLE statement for a given table
USE statement
selects a database and is required to show information about tables within a specific database.