SQL/Oracle SQL Flashcards

1
Q

allow us to select only the row in the result relation of the from clause that satisfy a specified predicaments

A

where clause

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

renaming the attributes of a result relation

A

Old-name as new name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

matches any string with at least three characters

A

%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

matches any string beginning with “Intro”

A

Intro%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

matches any string containing “Comp” as a substring

A

%Comp%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

for specifying access right to the relations and views

A

Authorization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A integer. A finite subset of the integer that is machined dependent

A

int

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

for specifying the beginner and end point of transaction

A

Transaction control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Has change to SQL

A

Sequel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The American National Standards Institute (ANSI) and the International Organization for Standardization published an SQL standard called SQL-86

A

1986

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

define how SQL statement can be embedded within general purpose programming language such as C, C++ and Java

A

Embedded SQL and Dynamic SQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

a fixed-length character string user specified length n

A

char(n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

for specifying integrity constraints that the data stored in the database must satisfy

A

Integrity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

matches any substring

A

Percent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

A small integer. The machine dependent subset of the integer type

A

smallint

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

provide the ability to query information from the database to insert tuples into, delete tuples from and modify tuples in the database

A

Data Manipulation Language (DML)

17
Q

matches any characters

A

Underscore

18
Q

a floating point number with precision of at least n digits.

19
Q

add attributes to an existing relation

A

Alter table

20
Q

a variable length character string user specified maximum length n

A

varchar(n)

21
Q

A fixed-point number with user-specified precision

A

numeric (p,d)

23
Q

matches any string with exactly three letters

A

three underscore

24
Q

provide commands for defining relation schemas, deleting relation and modifying relation schemas

A

Data Definition Language (DDL)

25
Q

for defining views

A

View definition

26
Q

IBM developed the original version of SQL called Sequel as part of the System R Project

A

Early 1970s

27
Q

causes tuple in the result of a query to appear in sorted order

28
Q

Published and extended SQL standard, SQL-89

29
Q

may also contain arithmetic expression involving +, -, * and /

A

select clause

30
Q

deletes all the information about the dropped relation from the database

A

Drop table

31
Q

Has clearly established itself as the standard relational database language

32
Q

floating point and double precision floating point number with machine dependent precision

A

real, double precision

33
Q

simplify where clause that specify a value be less than or equal to some value and greater than or equal to some other value