SQL Multiple choice

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/41

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.

42 Terms

1
New cards

A group of fields related to one item in a table

Record

2
New cards

Refer to the Primary key field used in another column

Foreign Key

3
New cards

An association between Entities

Relationship

4
New cards

Duplication of data or storing the same data in more than one location

Redundancy

5
New cards

A structure that can store information about multiple types of entities, the attributes of those entities and the relationship among the entities

Database

6
New cards

Person, place, object, event or idea for which you want to store and process data

Entity

7
New cards

A characteristic or property of an entity called a column in a database system

Attribute

8
New cards

A relationship between entities and attributes

Entity

9
New cards

Uniquely identifies a given row in a table

Primary Key

10
New cards

Spreadsheets, word documents and other computer information sources are stored in files

Datafile

11
New cards

A clause that sorts data by column

ORDER BY

12
New cards

A comparison operator

>

13
New cards

Finds unique rows

DISTINCT

14
New cards

Finds a range of values in columns

BETWEEN

15
New cards

Returns a certain number of rows in a query

LIMIT

16
New cards

A clause used for search conditions/criteria

WHERE

17
New cards

Returns true if both conditions are true

AND

18
New cards

Returns true if at least one condition is true

OR

19
New cards

Used to find patterns which uses the % sign

LIKE

20
New cards

Finds a list of values in columns

IN

21
New cards

Clause that identifies column names

SELECT

22
New cards

Clause that identifies a table

FROM

23
New cards

A clause that does grouping

GROUP BY

24
New cards

A function that returns the number of rows

COUNT

25
New cards

A function that finds the total of a column in a table and/or grouping

SUM

26
New cards

A function that returns the average of a table and/or grouping

AVG

27
New cards

A function that finds the lowest value in a table and/or grouping

MIN

28
New cards

Returns rows that match and rows that don’t match when you have two or more tables

LEFT

29
New cards

Similar to the WHERE clause used in a GROUP BY

HAVING

30
New cards

A function that finds the highest value in a table and/or grouping

MAX

31
New cards

Returns rows that match only when you have two or more tables

INNER

32
New cards

Allows you to enter data into specific columns, enter a full row of data or copy all data from a table to another table

INSERT

33
New cards

Keyword that changes data in columns on specific rows

UPDATE

34
New cards

Keyword that allows you make to make changes to a table such as adding a new column

ALTER

35
New cards

Keyword that creates the Data Definition Language of your table

CREATE

36
New cards

Indicates a column that must have values when inserting

NOT NULL

37
New cards

Column definition where the column can only hold numbers

INTEGERS

38
New cards

Column definition where the column can hold ASCII characters

VARCHAR

39
New cards

Use to specify rules for your data on your table

CONSTRAINT

40
New cards

Ensures that all values in a column are different

UNIQUE

41
New cards

A combination of NOT NULL and UNIQUE, uniquely identifies each row in a table

PRIMARY KEY

42
New cards

Uniquely identifies a row/record by referencing another table

FOREIGN KEY