1.3 Managing databases Flashcards

1
Q

database system instance

A

single executing copy of a database system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

CREATE DATABASE DatabaseName

A

creates a new database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

DROP DATABASE DatabaseName

A

deletes a database, including all tables in the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

SHOW statement

A

provides database users and administrators with information about databases, the database contents (tables, columns, etc.), and server status information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

SHOW DATABASES

A

lists databases available in the database system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

SHOW TABLES

A

lists tables available in the currently selected database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

SHOW COLUMNS

A

lists columns available in a specific table named by a FROM clause

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

SHOW CREATE TABLE

A

shows the CREATE TABLE statement for a given table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

USE statement

A

selects a database and is required to show information about tables within a specific database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly