Shared Flashcard Set

Details

MySQL Chapter 03
N/A
21
Computer Science
Undergraduate 2
04/25/2011

Additional Computer Science Flashcards

 


 

Cards

Term
SQL functions
Definition
DDL
DML
Term
DDL
Definition
Data definition language
Create database objects
Are saved in the schema immediately after executing the query
Term
DML
Definition
Data manipulation language
Insert, update, delete and retrieve data within database tables
Not saved until you use a specific command to save changes "commit statement"
Term
Reserved Words
Definition
SQL command words
You can not use the order table because order is a reserved word
Term
User Account
Definition
Identified by a username
Include privileges and roles
Term
User Schema
Definition
Logical container that contains all of the database objects.
Usually has the same name as the username
Term
Table and column name restrictions
Definition
Names cannot exceed 18 characters
Must start with a letter
Can contain letters, numbers, and underscores
Cannot contain spaces
Term
Data Types
Definition
CHAR
VARCHAR
DECIMAL
INT
DATE
Term
CHAR (n)
Definition
Fixed-length character data
Term
VARCHAR (n)
Definition
Variable length character data
Term
DECIMAL (p,q)
Definition
used to represent decimal numbers
Term
INT
Definition
used to represent integer values
Term
(p,q)
Definition
p is the total number of digits to left and right of decimal point
q is the number of digits to the right of decimal point
Term
Delete table command
Definition
DROP TABLE ___;
Term
NOT NULL
Definition
Exclude the use of nulls in a column
Term
See the structure of a table
Definition
DESCRIBE ___;
Term
Adding table rows
Definition
INSERT INTO ___
VALUES ( );
Term
Display all rows and columns in a table
Definition
SELECT * FROM ____;
Term
Updating table rows
Definition
UPDATE table_name
SET column_name = expression
WHERE condition_list;
Term
Deleting table row
Definition
DELETE FROM table_name
WHERE condition_list;
Term
Practice Problems
Definition
Slide 20 , 25 , 32 , 37 , 40 , 42 , 43 ,
Supporting users have an ad free experience!