DBMS L8

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

1/25

flashcard set

Earn XP

Description and Tags

Retrieving Data Using the SQL SELECT Statement

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

26 Terms

1
New cards
<p>SELECT</p>

SELECT

identifies the columns to be displayed

2
New cards
<p>FROM</p>

FROM

identifies the table containing those columns.

3
New cards
<p>SELECT *</p>

SELECT *

selecting all columns

4
New cards
<p>SELECT [col_name], [col_name]</p>

SELECT [col_name], [col_name]

selecting specific columns

5
New cards

True

(True or False) SQL statements are not case-sensitive.

6
New cards

true

(True or False) SQL statements can be entered on one or more lines.

7
New cards

true

(True or False) Keywords cannot be abbreviated or split across lines.

8
New cards

true

(True or False) Clauses are usually placed on separate lines.

9
New cards

true

(True or False) Indents are used to enhance readability.

10
New cards

false

(True or False) In SQL Developer, SQL statements can optionally be terminated by a semicolon (;). Semicolons are not required when you execute multiple SQL statements.

11
New cards

True

(True or False) In SQL*Plus, you are required to end each SQL statement with a semicolon (;).

12
New cards

SQL Developer

  • Default heading alignment: Left-aligned

  • Default heading display: Uppercase

13
New cards

SQL*Plus

  • Character and Data column headings are left-aligned.

  • Number column headings are right-aligned.

  • Default heading display: Uppercase

14
New cards

Arithmetic Expressions

Create expressions with number and date data by using arithmetic operators.

15
New cards

add

+

16
New cards

subtract

-

17
New cards

multiply

*

18
New cards

divide

/

19
New cards

operator precedence

knowt flashcard image
20
New cards

Null

is a value that is unavailable, unassigned, unknown, or inapplicable

21
New cards

false

(True or False) Null is the same as zero or a blank space.

22
New cards
<p>Column Alias</p>

Column Alias

  • Renames a column heading

  • Immediately follows the column name (There can also be the optional AS keyword between the column name and alias.)

  • Requires doubles quotation marks if it contains spaces or special characters, or if it is case-sensitive

23
New cards
<p>Concatenation Operator</p>

Concatenation Operator

  • Links columns or character strings to other columns

  • Is represented by two vertical bars (||)

  • Creates a resultant column that is a character expression

24
New cards
<p>literal</p>

literal

is a character, a number, or a date that is included in the SELECT statement.

25
New cards
<p>Alternative Quote (q) Operator</p>

Alternative Quote (q) Operator

  • Specify your own quotation mark delimiter.

  • Select any delimiter.

  • Increase readability and usability

26
New cards
<p>DESCRIBE OR DESC</p>

DESCRIBE OR DESC

Use this command to display the structure of a table

Explore top flashcards

DECA Marketing
Updated 1080d ago
flashcards Flashcards (409)
1.1
Updated 115d ago
flashcards Flashcards (29)
Criminal Law
Updated 490d ago
flashcards Flashcards (36)
unit 6 gradesavers
Updated 1045d ago
flashcards Flashcards (58)
Ecology
Updated 1039d ago
flashcards Flashcards (124)
DECA Marketing
Updated 1080d ago
flashcards Flashcards (409)
1.1
Updated 115d ago
flashcards Flashcards (29)
Criminal Law
Updated 490d ago
flashcards Flashcards (36)
unit 6 gradesavers
Updated 1045d ago
flashcards Flashcards (58)
Ecology
Updated 1039d ago
flashcards Flashcards (124)