CIT 350 - unit 6 MySQL intro

CIT 350 - unit 6 MySQL intro

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

Entity Relationship Diagram (ER) (newer version EER - enhanced entity-relationship diagram)

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (71)

Section 1

(50 cards)

Entity Relationship Diagram (ER) (newer version EER - enhanced entity-relationship diagram)

Front

can be used to show how the tables in a database are defined and related

Back

cell

Front

the intersection of a row and a column

Back

individual systems and LANs can be connected and share data over larger private networks, such as ______________

Front

WAN (wide area network)

Back

columns (fields)

Front

represents some attribute of the entity, such as the amount of an invoice or a vendor's address

Back

The type of operation that retrieves data from two or more tables is called a __________________.

Front

join

Back

web browser

Front

running on a client sends a request tot a web server over the internet. then the web server processes the request and passes any request for data on to the database server

Back

Which of the following types of statements does not modify the data in a table?

Front

SELECT

Back

application software

Front

does the work that the user wants to do. purchased or developed

Back

many-to-many relationship

Front

usually implemented by using an intermediate table that has a one-to-many relationship

Back

Data Manipulation Language (DML)

Front

statement that let your work with the data in a database - used more by MySQL programmers (application programmers use the most)

Back

To relate one table to another, a/an _______________________ in one table is used to point to the primary key in another table.

Front

foreign key

Back

The most common type of relationship between two tables is a/an _______________________ relationship.

Front

one-to-many

Back

A database driver is software that lets the

Front

data access model communicate with the database

Back

in a simple client/server system, the server is typically a high-powered PC that communicates with the clients over a ___________

Front

LAN (local area network)

Back

server

Front

is a computer that has enough processor speed, internal memory (RAM), and disk storage to store the files and databases of the system and provide services to the clients of the system

Back

Which of the following types of SQL statements is not a DML statement?

Front

CREATE TABLE

Back

one-to-many relationship

Front

the tables in a database can be related to other tables by values in specific columns - each row in the Vendors table is related to one or more rows in the invoices table

Back

tables

Front

consists of rows and columns - typically modeled after a real-world entity, such as an invoice or a vendor

Back

business components

Front

these are used to process database requests from the user interface running on the client

Back

the database server is referred to as the

Front

back end

Back

data types

Front

assigned to a column determines the type of information that can be stored in the column

Back

web services

Front

like business components, except that they are designed to run on a web server

Back

A relational database consists of one or more __________________.

Front

tables

Back

application server (web server)

Front

used to store business components that do part of the processing of the application

Back

non-primary keys (unique keys)

Front

uniquely identifies each row in the table

Back

value

Front

what is stored in a cell - stored AT the intersection

Back

network

Front

the cabling, communication lines, network interface cards, hubs, routers, and other components that connect the clients and the servers of the system

Back

data access API (application programming interface)

Front

provides the interface between the application program and the DBMS.

Back

open-source database

Front

any developer can view and improve its source code - runs on all major operating systems and is commonly used for web applications

Back

indexes

Front

provides an efficient way to access data from a table based on the values in specific columns - automatically created for a table's primary and non-primary keys

Back

web application

Front

are designed to run on a web server

Back

the client is typically referred to as the

Front

front end

Back

rows (records)

Front

contains a set of values for a single instance of the entity, such as one invoice or one vendor

Back

null (null value)

Front

represents a value that's unknown, unavailable, or not applicable.

Back

enterprise system

Front

When a system consists of networks, midrange systems, and mainframe systems, often spread throughout the country or world

Back

default value

Front

that value is assigned to the column if another value isn't provided

Back

foreign key

Front

one or more columns in a table that refer to a primary key in another table - identifies a related row in the vendors table

Back

Referential Integrity

Front

when you define a foreign key for a table in MySQL, you can have that foreign key enforce ____________. then, MySQL makes sure that any changes to the data in the database don't create invalid relationships between tables

Back

SQL statements that define the tables in a database are referred to as _____________________ statements.

Front

ddl

Back

composite primary key

Front

if a primary key uses two or more columns

Back

If you define a column with a default value, that value is used whenever a row

Front

that doesn't include a value for that column is added to the table

Back

relational database

Front

consists of tables - eliminated some of the problems that were associated with standard files and other database designs - rude data redundancy, which saves disk storage and leads to efficient data retrieval - you can also view and manipulate data in a way that is both intuitive and efficient

Back

clients

Front

usually the PCs , Macs, or workstations of the system that are already available on the desktops throughout a company - can also be mobile devices like laptops, tablets, and smartphones

Back

DBMS (Database Management System)

Front

store and manage the databases of the client/server system (MySQL)

Back

The processing that's done by the DBMS is typically referred to as

Front

back-end processing

Back

one-to-one relationship

Front

the data in the two tables could be stored in a single table

Back

The result of a SELECT statement is

Front

a result set

Back

auto increment column

Front

A numeric column whose value is generated automatically when a row is added to the table.

Back

the processing that's done by the client software is typically referred to as

Front

front-end processing

Back

primary key

Front

uniquely identifies each row in the table - usually a single column, can also consist of two or more columns

Back

Section 2

(21 cards)

DELETE

Front

statement used to delete one or more rows from a table based on the condition you specify

Back

block comment

Front

typically coded at the beginning of a group of statements and is used to document the entire group - can also be used within a statement to describe blocks of code, but that's not common

Back

base table

Front

you use the SELECT statement to retrieve selected columns and rows from a _______ _________.

Back

snippets

Front

Contain the syntax for many common SQL stmts. - used to guide you as you create a SQL stmt - you can also create your own and save them for later use

Back

single-line comment

Front

typically used to document a single statement or line of code - can be coded on a separate line, or it can be coded at the end of a line of code

Back

calculated value

Front

a result set can include _________ ___________ that are calculated from columns in the table.

Back

outer join

Front

lets you include all rows from a table even if the other table doesn't have a matching row

Back

UPDATE

Front

statement used to change the values in one or more rows of a table based on the condition you specify

Back

Script

Front

A SQL _______ is a file that contains one or more SQL stmts.

Back

SELECT

Front

a clause that names the columns to be retrieved

Back

FROM

Front

a clause that names the table that contains the columns

Back

ORDER BY

Front

Back

WHERE

Front

gives the criteria for the rows to be selected

Back

database driver

Front

software that connects applications to databases

Back

result set

Front

a logical table that's created temporarily within the database. when an application requests data from a database, it receives a ________ ______.

Back

inner join

Front

- most common type of join - returns rows from the two tables in the join are included in the result table only if their related columns match

Back

join

Front

lets you combine data form two or more tables into a single result set

Back

Data Definition Language (DDL)

Front

the statements that create databases and work with the OBJECTS within a database - used more by DBAs

Back

Database Administrator (DBA)

Front

-their job to maintain existing databases, tune them for faster performance, and create new databases - will most likely use DDL statements

Back

INSERT

Front

statement that adds rows to a table

Back

query

Front

A SELECT statement is commonly referred to as a _______.

Back