D426 SET

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/777

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

778 Terms

1
New cards

Authorization

Which requirement within large, complex databases ensures users have limited access to the database?

2
New cards

Conceptual design

Which design type specifi es database requirements without regard to a specifi c database system?

3
New cards

They are logical constraints that ensure the data is valid.

What characterizes the rules of relational databases?

4
New cards

When an SQL statement is syntactically incorrect

Which event will result in an error code and error description when using MySQL Server?

5
New cards

INT

Which data type should be used to store whole integer values, such as age?

6
New cards

MySQL Command-Line Client

Which text-based interface is included in the MySQL Server Download?

7
New cards

MySQL

Which database system includes the World database during its installation?

8
New cards

Structured Query Language

What is the standardized language of relational database systems?

9
New cards

Data Control Language (DCL)

Which SQL sublanguage is used to manage database access?

10
New cards

Data Transaction Language (DTL)

Which SQL sublanguage is used to roll back database changes?

11
New cards

hh:mm:ss

Which format is used by the TIME data type in MySQL?

12
New cards

OR

Which MySQL operator is the last in the order of operator precedence?

13
New cards

<=

Which operator is used to compare columns from the left and right tables in MySQL?

14
New cards

CROSS

Which type of join combines two tables without comparing columns?

15
New cards

Equijoin

Which type of join compares columns using only the = operator?

16
New cards

EQUIJOIN

Which type of join is demonstrated by the following query?

SELECT Dog.Nickname, Kennel.Address

FROM Dog, Kennel

WHERE Dog.KennelID = Kennel.ID

17
New cards

In a nested query, the outer query is evaluated first.

What is another name for a subquery?

18
New cards

IN

Which operator is used to compare against a list of values when determining a match in a WHERE clause?

19
New cards

%

Which wildcard character is used to represent zero or more characters when searching for a specified pattern using a LIKE operator?

20
New cards

MIN

Which function is considered an aggregating function in SQL?

21
New cards

GROUP BY

Which clause or function is used with aggregate functions to produce summary rows?

22
New cards

Inner Join

Which type of join returns only the matching values when selecting rows from two or more tables?

23
New cards

Inner Join

Which join type selects only matching left and right table rows?

24
New cards

Materialized View

Which phrase refers to the view in which data is persisted and is automatically changed as the underlying data is changed?

25
New cards

UPDATE Employee SET Salary = 50000 WHERE ID = 1;

Which SQL command uses the correct syntax to update the salary of an employee in the Employee table?

26
New cards

Metadata

What describes elements such as column name and data type?

27
New cards

Tuple

Which term identifies an ordered collection of elements enclosed in parenthesis in a tablespace?

28
New cards

SELECT name, salary FROM Employee WHERE salary > 50000ORDER BY salary DESC;

Which SQL command uses the correct syntax to select the name and salary columns from the Employee table, where the salary is greater than 50000, and sort the results by salary in descending order?

29
New cards

INSERT INTO table_name (column1, column2) VALUES (value1,value2);

Which INSERT statement demonstrates valid syntax in SQL?

30
New cards

UPDATE table_name SET column1 = value1, column2 = value2WHERE condition;

Which UPDATE statement uses valid syntax in SQL?

31
New cards

TRUNCATE

Which statement used to remove data from temporary tables?

32
New cards

CREATE

Which keyword is a DDL (data definition language) keyword in SQL?

33
New cards

Not Null

Which property is enforced by a primary key fi eld?

34
New cards

Auto-increment

Which property or function allows SQL to insert a fi eld value?

35
New cards

CASCADE

Which property specifies an expression on one or more columns of a table?

36
New cards

Simple primary key

Which type of key is a single column in a table used to identify a row?

37
New cards

Composite

Which type of key is often represented by parentheses to show multiple columns?

38
New cards

Simple

Which primary key characteristic means it includes information that is easy to type and store?

39
New cards

One-to-many

Which type of relationship is established by a foreign key in a relational database?

40
New cards

INSERT

Which statements may be rejected when a foreign key constraint is specified?

41
New cards

Candidate key

Which key describes the unique columns in a table that do not contain a primary key?

42
New cards

Multi-level index

Which index stores column values and row pointers in a hierarchy?

43
New cards

Hash index

Which type of index refers to entries that are assigned to buckets?

44
New cards

Bitmap index

Which type of index is a grid of bits where each index row corresponds to a unique row in a table?

45
New cards

Foreign key

Which part of a junction table in a relational database establishes a many-to-many relationship between two tables?

46
New cards

Logical design

Which type of development activity is used to convert an entity-relationship model (ERM) into tables, columns, and keys?

47
New cards

Trivial dependency

Which term addresses columns of A being a subset of the columns of B, with A always depending on B?

48
New cards

Merging tables

Which term describes the process of denormalization?

49
New cards

It is a first normal form table.

A database designer is working with a table that has a primary key and no duplicate rows.

What can be concluded about the table?

50
New cards

Normalization

Which process eliminates redundancy by decomposing a table into two or more tables in a higher normal form?

51
New cards

Boyce-Codd normal form

Which term describes the optimal normal form for frequent inserts, updates, and deletes of data?

52
New cards

One-to-many

Which relationship is depicted in the following entity-relationship (ER) diagram?

<p>Which relationship is depicted in the following entity-relationship (ER) diagram?</p>
53
New cards

IsA relationship

Which relationship or association exists between a supertype entity and its subtype entities?

54
New cards

Square

Which symbol is used in an entity-relationship (ER) diagram for an entity?

55
New cards

Circle

Which symbol is used in an entity-relationship (ER) diagram to indicate an attribute?

56
New cards

Identify entities.

What must be done before creating supertype and subtype entities?

57
New cards

Entity

Which real-world object can be distinctly identified and grouped, such as all employees in a company?

58
New cards

Weak entity

Which item in an entity-relationship (ER) diagram follows the attribute name and is placed outside of parentheses?

59
New cards

Unique identifier analysis

Which strategy can be used to identify primary keys when investigating data relationships?

60
New cards

In the direction the relationship verb is facing

How should an entity relationship phrase be read to correctly understand how one entity relates to another entity in an entity-relationship diagram (ER diagram)?

<p>How should an entity relationship phrase be read to correctly understand how one entity relates to another entity in an entity-relationship diagram (ER diagram)?</p>
61
New cards

Attribute

What is a property or characteristic of an entity?

62
New cards

Modality

What is the minimum number of entity occurrences?

63
New cards

Cardinalities

What is the maximum number of entities that can be involved in a particular relationship?

64
New cards

BETWEEN

Allows you to specify a range of numeric values in a search

65
New cards

IN

Allows you to specify a list of character strings included in a search.

66
New cards

LIKE

Allows you to specify partial characters in a wildcard sense.

67
New cards

Query Processor

Interprets queries, creates a plan to modify the database or retrieve data, and returns query results to the application.

68
New cards

Application Programming Interface

A library of procedures or classes that links a host programming language to a database.

69
New cards

Attribute

What is a formal term for a column in entity-relationships & relational models?

70
New cards

Analysis steps

1. Discover entities, relationships, and attributes.

2.Determine cardinality.

3. Distinguish strong and weak entities.

4. Create supertype and subtype entities.

71
New cards

Logical Design steps

5.Implement entitles.

6. Implement relationships.

7. Implement attributes.

8. Apply normal form.

72
New cards

SELECT FORMAT

SELECT

FROM

WHERE;

73
New cards

Data Type

Named set of values, from which a column values are drawn.

74
New cards

Literals

Explicit values that are a string, numeric, or binary. Strings must be surrounded by single quotes or double quotes.

75
New cards

Synonyms

Often, entity, relationships, and attributes use this in tables?

76
New cards

CREATE INDEX

CREATE INDEX IndexName ON TableName (Column1, Column2, ..., ColumnN);

77
New cards

DROP INDEX

DROP INDEX IndexName ON TableName;

78
New cards

SHOW INDEX

SHOW INDEX FROM TableName;

79
New cards

ON

Which clause specifies the join columns?

80
New cards

INNER JOIN or FULL JOIN

Specifies the right table.

81
New cards

FROM

Specifies the left table.

82
New cards

Outer Join

Any join that selects unmatched rows, including left, right, and full joins

83
New cards

Syntax for ALTER Add statement.

ALTER TABLE TableNAME

ADD ColumnName DataType;

84
New cards

Syntax for ALTER Change statement.

ALTER TABLE TableName CHANGE CurrentColumnName NewColumnName NewDataType;

85
New cards

Syntax for ALTER Drop statement.

ALTER TABLE TableName DROP ColumnName;

86
New cards

Inserting values for auto-increment primary keys

Omitting values for primary keys that are not auto-increment columns.

Database users make the following errors when inserting auto_increment primary keys?

87
New cards

INSERT INTO Department (Name, ManagerID)

Values ('Engineering', 2538)

CREATE TABLE Department ( Code TINYINT UNSIGNED AUTO_INCREMENT,

Name VARCHAR(20) NOT NULL,

ManagerID SMALLINT UNSIGNED,

PRIMARY KEY (Code)

);

What is the correct syntax for Insert statement?

88
New cards

INSERT INTO Department (Name, ManagerID)

VALUES (' ', NULL);

CREATE TABLE Department (

Code TINYINT UNSIGNED AUTO_INCREMENT,

Name VARCHAR(20) NOT NULL,

ManagerID SMALLINT UNSIGNED,

PRIMARY KEY (Code)

);

Which statement correctly inserts an unnamed department with no manager?

89
New cards

Composite Primary Key

Consists of multiple columns, denoted with parentheses.

90
New cards

Logical design

Specifies tables, columns, and keys.

91
New cards

Physical design

Specifies indexes, table structures, and partitions.

92
New cards

CREATE INDEX Syntax

CREATE INDEX IndexName ON TableName (Column1, Column2, ..., ColumnN);

93
New cards

DROP INDEX Syntax

DROP INDEX IndexName ON TableName;

94
New cards

SHOW INDEX Syntax

SHOW INDEX FROM TableName;

95
New cards

Similar entities

Has many common attributes and relationships.

96
New cards

Primary Key columns

Solid bullets (●) denotes what?

97
New cards

Foreign Key columns

Open bullets (⚬) denotes what?

98
New cards

TINYINT

1 byte

99
New cards

SMALLINT

2 bytes

100
New cards

MEDIUMINT

3 bytes

Explore top flashcards

Nisäkkäät
Updated 773d ago
flashcards Flashcards (47)
31-35
Updated 79d ago
flashcards Flashcards (69)
BIOL 375 Exam 2
Updated 1026d ago
flashcards Flashcards (76)
MB3
Updated 191d ago
flashcards Flashcards (37)
Tema 6: Contexto 2
Updated 970d ago
flashcards Flashcards (30)
Emotions and moods
Updated 187d ago
flashcards Flashcards (114)
Nisäkkäät
Updated 773d ago
flashcards Flashcards (47)
31-35
Updated 79d ago
flashcards Flashcards (69)
BIOL 375 Exam 2
Updated 1026d ago
flashcards Flashcards (76)
MB3
Updated 191d ago
flashcards Flashcards (37)
Tema 6: Contexto 2
Updated 970d ago
flashcards Flashcards (30)
Emotions and moods
Updated 187d ago
flashcards Flashcards (114)