Fiszki: SQL | Quizlet

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

ASC keyword

1 / 31

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

32 Terms

1

ASC keyword

Used to sort data in ascending order.

New cards
2

Data type

Specifies the type of data that a column can hold (e.g., text and numbers).

New cards
3

DESC keyword

Used to sort data in descending order

New cards
4

ORDER BY clause

Retrieves the name of one or more columns from the SELECT statement, and sorts (ascending or descending) the output.

New cards
5

Client

A single-user computer that interfaces with the multiple-user server.

New cards
6

Client/server database system

A system that divides processing between client computers and a database server.

New cards
7

Database

A collection of electronically stored organized files.

New cards
8

Server

A multiple-user computer that provides shared database connection, interfacing, and processing services.

New cards
9

Field

Column that runs vertically within a table.

New cards
10

Foreign key

Link records of one type with those of another type.

New cards
11

Keys

Uniquely identify a row or record in a table.

New cards
12

Normalization

A three-step technique used to organize data attributes in a more efficient, reliable, flexible, and maintainable structure.

New cards
13

Pprimary key

A field whose value uniquely identifies every row in a table.

New cards
14

Row

A record that represents a collection of information relating to an item in a table.

New cards
15

Table

Structured file containing rows and columns.

New cards
16

SQL Defined

SQL is a nonprocedural language that is used to manipulate and retrieve data from relational DBMSs such as Microsoft Access, DB2, Sybase, and Microsoft SQL Server. It is considered nonprocedural because of the way operations are carried out. Unlike procedural computer languages like Basic and C, which are concerned with how to perform operations, SQL describes what needs to be processed. The focus is on what to retrieve, delete, or insert.

New cards
17

Query

A question or command you pose concerning data from the database.

New cards
18

Parts of a query include the following:
Clause

A segment of an SQL statement combined to form a complete SQL statement.

New cards
19

Parts of a query include the following:
Keywords

Reserved words that allow you to communicate with a database.

New cards
20

Parts of a query include the following:
Statement

Keywords and data supplied within an SQL query.

New cards
21

Keywords:
FROM keyword

Used to tell the database which table to retrieve the columns from.

New cards
22

Keywords:
SELECT keyword

Used to tell the database which column(s) to display.

New cards
23

Syntax Rules

Syntax refers to the rules that govern how a programming language must be written.

New cards
24

Comparison Operators

knowt flashcard image
New cards
25

Comparison Operators

The comparison operators are used to compare expressions. An expression is any data type that returns a value

New cards
26

Arithmetic Operators

Plus (+)
Minus (-)
Divide (/)
Modulus (%)
Multiply (*)

New cards
27

Sorting Data Using the WHERE Clause

The ability to sort data further enhances the data-retrieval process. Sorting data involves filtering and arranging retrieved data in a customized fashion. In SQL, this is achieved by using the following clauses:
GROUP BY
HAVING
ORDER BY
STARTING WITH
WHERE

New cards
28

Asterisk wildcard character (*)

When used with the LIKE operator, you can match any number of occurrences of any character.

New cards
29

Brackets wildcard character ( [] )

When used with the LIKE operator, you can specify a set of characters that match a character in a specific position.

New cards
30

LIKE operator

A character operator. When used in conjunction with asterisks or brackets, matches parts of a value within a table.

New cards
31

IN operator

A miscellaneous operator that provides a shorter method for specifying a range of conditions.

New cards
32

NOT operator

A logical operator used to match any condition opposite of the one defined.

New cards

Explore top notes

note Note
studied byStudied by 3 people
... ago
5.0(1)
note Note
studied byStudied by 166 people
... ago
4.5(2)
note Note
studied byStudied by 118 people
... ago
5.0(4)
note Note
studied byStudied by 11 people
... ago
5.0(2)
note Note
studied byStudied by 43 people
... ago
5.0(1)
note Note
studied byStudied by 10 people
... ago
5.0(1)
note Note
studied byStudied by 29 people
... ago
5.0(1)
note Note
studied byStudied by 21736 people
... ago
4.6(101)

Explore top flashcards

flashcards Flashcard (36)
studied byStudied by 10 people
... ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 8 people
... ago
5.0(2)
flashcards Flashcard (49)
studied byStudied by 2 people
... ago
4.0(1)
flashcards Flashcard (72)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (30)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (50)
studied byStudied by 8 people
... ago
5.0(1)
flashcards Flashcard (21)
studied byStudied by 17 people
... ago
5.0(1)
flashcards Flashcard (37)
studied byStudied by 194 people
... ago
5.0(1)
robot