Deck 2: Basic Sql Select Statements

ملء الشاشة (f)
exit full mode
سؤال
A user can indicate that all columns of a table should be displayed in the results of a SELECT statement by including an asterisk (*) in the SELECT clause.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
By default, a column alias is displayed in lower case characters in the results.
سؤال
The columns displayed in the results of a SELECT statement will be in the same order as they are stored in the database table.
سؤال
A query is accomplished by issuing a SELECT statement.
سؤال
If you assign a column alias to a column, it must be enclosed in double quotation marks (" ").
سؤال
If a column name is entered in lower case in the SELECT statement, the data for the column will be displayed in lower case in the results.
سؤال
The asterisk symbol (*) can be used in a SELECT statement to indicate that all rows in the table should be displayed in the results.
سؤال
Column headings may be truncated in the results of a SELECT statement.
سؤال
The majority of operations performed on a typical database table utilize the SELECT statement.
سؤال
A script file containing SQL statements can be executed from SQL*Plus.
سؤال
Choosing specific columns to be displayed by a SELECT statement is known as selection.
سؤال
SQL*Plus can only be accessed via an internet interface.
سؤال
SQL*Plus is an Oracle tool used to enter and edit SQL statements.
سؤال
Choosing specific columns to be displayed by a SELECT statement is known as projection.
سؤال
If multiple column names are listed in the SELECT clause of a SELECT statement, the columns must be separated by a comma (,).
سؤال
A clause is a section within a SQL statement that begins with a keyword.
سؤال
Each section of a SQL command that begins with a keyword is known as a statement.
سؤال
The SELECT clause of the SELECT statement is used to identify which rows are to be retrieved from a specified table.
سؤال
When a user asks the database a question, the user is issuing a query.
سؤال
The DESCRIBE command is used to view data in a table.
سؤال
Choosing specific columns from a database through a SELECT statement is known as  projection \underline {\text { projection }} _________________________
سؤال
A double backslash (\\) is used to indicate concatenation in a SELECT statement.
سؤال
Each section of a statement that begins with a keyword is known as a(n)  buffer \underline { \text { buffer } } . _________________________
سؤال
The  SELECT \underline {\text { SELECT } } command can be used to display the structure of a database table. _________________________
سؤال
The  ALL \underline { \text { ALL } } option can be used in the SELECT clause to indicate that all columns should be retrieved. _________________________
سؤال
A column heading that is longer than the width of a column will not be truncated for a column that is defined to store  character \underline { \text { character } } data. _________________________
سؤال
A(n)  WHERE \underline { \text { WHERE } } statement allows a user to retrieve data from a database table. _________________________
سؤال
Parentheses can be used to override the order of operations in an arithmetic expression.
سؤال
The only required clauses for a SELECT statement are the  WHERE \underline {\text { WHERE }} and FROM clauses. _________________________
سؤال
A(n)  CRBMDS \underline { \text { CRBMDS } } is a software program that can be used to create a relational database and allows you to enter, manipulate, and retrieve data. _________________________
سؤال
In a(n)  SELECT \underline {\text { SELECT } } statement, keywords, table names, and column names are not case sensitive. _________________________
سؤال
The following arithmetic operations can be performed in the SELECT clause of a SELECT statement: addition (+), subtraction (-), multiplication (*), division (/), and exponential (^).
سؤال
Concatenation refers to combining the results of several SELECT statements into one result.
سؤال
The  SELECT \underline { \text { SELECT } } clause identifies the table containing the data to be queried. _________________________
سؤال
The optional keyword AS can be used to indicate that the subsequent string of characters is a column alias.
سؤال
Each clause of a SELECT statement  must \underline {\text { must } } be entered on a new line in SQL*Plus. _________________________
سؤال
The DIST or UNIQ keywords can be used to suppress duplicate data in the results of a SELECT statement.
سؤال
When listing more than one column name in the SELECT clause of a SELECT statement, the column names must be separated by  semicolons \underline {\text { semicolons }} . _________________________
سؤال
The  syntax \underline { \text { syntax } } for a SQL statement gives the basic structure required to execute the statement. _________________________
سؤال
A query can be executed in the SQL Plus \underline{\mathrm{SQL}^{*} \text { Plus }} tool. _________________________
سؤال
Combining the contents of two or more columns is known as  projection \underline {\text { projection } } . _________________________
سؤال
By default, data within a character or data column is  right \underline { \text { right } } -aligned when it is displayed. _________________________
سؤال
The use of a column alias in the SELECT clause can be designated by the keyword  ALIAS \underline { \text { ALIAS } } . _________________________
سؤال
Which of the following are case sensitive in Oracle11g?

A) keywords
B) column names
C) table names
D) none of the above
سؤال
The entire column heading for a column will be displayed, regardless of the assigned width of the column, if the column is defined as a(n) ____ column.

A) character
B) alphanumeric
C) date
D) numeric
سؤال
When solving arithmetic expressions, Oracle11g always resolves addition and subtraction operations  first \underline {\text { first } } from left to right in the expression. _________________________
سؤال
The  DISTINCT \underline {\text { DISTINCT } } keyword can be used to indicate that duplicate data should be suppressed in the results of a query. _________________________
سؤال
Which of the following commands can be used to view the structure of a table?

A) CONCATENATION
B) DESCRIBE
C) SELECT
D) none of the above
سؤال
To indicate which database table contains the data to be selected by a query, the table name should be listed in the ____ clause.

A) SELECT
B) FROM
C) WHERE
D) HAVING
سؤال
The ____ for a SQL statement gives the basic structure, or rules, required to execute the statement.

A) clauses
B) keywords
C) sequence
D) syntax
سؤال
Which of the following symbols represents all the columns contained in a table?

A) /
B) ;
C) *
D) ^
سؤال
 Parentheses \underline{\text { Parentheses }} can be used to override the order of operations in an arithmetic expression. _________________________
سؤال
Insignificant zeros  are \underline { \text { are } } displayed for numeric columns by default to show two decimal places. _________________________
سؤال
By default, data within a numeric column is  right \underline {\text { right } } -aligned when it is displayed. _________________________
سؤال
A(n) ____ has a predefined meaning in Oracle11g.

A) keyword
B) statement
C) syntax
D) clause
سؤال
What is used to indicate the end of an SQL statement?

A) /
B) :
C) ;
D) *
سؤال
Which of the following is a mandatory clause in a SELECT statement?

A) FROM
B) WHERE
C) HAVING
D) both a and b are mandatory
سؤال
Which of the following commands is used to issue a query?

A) QUER
B) FROM
C) SELECT
D) QUESTION
سؤال
A string literal must be enclosed in  double \underline { \text { double } } quotation marks. _________________________
سؤال
If a column alias contains a blank space, it must be enclosed in  double \underline {\text { double } } quotation marks. _________________________
سؤال
Contents of the PUBLISHER table
<strong>Contents of the PUBLISHER table   Based upon the contents of the PUBLISHER table, which of the following SELECT statements will display the publisher's name first in the results?</strong> A) SELECT * FROM publisher; B) SELECT pubid, contact FROM publisher; C) SELECT name, publisherID FROM publishers; D) none of the above <div style=padding-top: 35px>
Based upon the contents of the PUBLISHER table, which of the following SELECT statements will display the publisher's name first in the results?

A) SELECT * FROM publisher;
B) SELECT pubid, contact FROM publisher;
C) SELECT name, publisherID FROM publishers;
D) none of the above
سؤال
Contents of the PUBLISHER table
<strong>Contents of the PUBLISHER table   Based upon the contents of the PUBLISHER table, which of the following is a valid SQL statement?</strong> A) SELECT * FROM pubid; B) SELECT * FROM name; C) SELECT * FROM contact; D) SELECT * FROM publisher; <div style=padding-top: 35px>
Based upon the contents of the PUBLISHER table, which of the following is a valid SQL statement?

A) SELECT * FROM pubid;
B) SELECT * FROM name;
C) SELECT * FROM contact;
D) SELECT * FROM publisher;
سؤال
What is the correct solution for the arithmetic expression (2+8)/2*9/3 using the order of operations employed by Oracle10g when solving equations?

A) 1.336
B) 4.8
C) 15
D) 14
سؤال
What is the correct answer for the arithmetic expression 9+2*(3-4) using the order of operations employed by Oracle10g when solving equations?

A) -11
B) -18
C) 9
D) 7
سؤال
Which of the following types of columns will automatically right-align the data when it is displayed?

A) character
B) date
C) alphanumeric
D) numeric
سؤال
Combining the contents of two or more columns is known as ____.

A) projection
B) concatenation
C) selection
D) suppression
سؤال
If a column alias contains a blank space, it must be enclosed in ____.

A) single quotation marks (' ')
B) double quotation marks (" ")
C) asterisks (* *)
D) percent signs (% %)
سؤال
If the results of a SELECT statement include more than one column of data, the column names must be separated in the SELECT clause by which of the following symbols?

A) ,
B) " "
C) ' '
D) *
سؤال
A column alias must be contained within double quotation marks (" ") if it contains which of the following?

A) blank spaces
B) special symbols
C) characters that should be displayed in lower or mixed case
D) all of the above
سؤال
Which of the following keywords can be used to indicate that a column alias should be included in the results?

A) AS
B) FROM
C) SELECT
D) ALIAS
سؤال
What is the correct solution for the arithmetic expression 2+8/2*9/3 using the order of operations employed by Oracle10g when solving equations?

A) 0.1
B) 4.8
C) 15
D) 14
سؤال
A string literal must be enclosed in ____.

A) single quotation marks (' ')
B) double quotation marks (" ")
C) asterisks (* *)
D) percent signs (% %)
سؤال
Contents of the PUBLISHER table
<strong>Contents of the PUBLISHER table   Based upon the contents of the PUBLISHER table, which of the following is a valid SQL statement?</strong> A) SELECT contact Contact's Name FROM publisher; B) SELECT contact, name FROM publisher; C) SELECT publisherID FROM publisher; D) SELECT name FROM publishers; <div style=padding-top: 35px>
Based upon the contents of the PUBLISHER table, which of the following is a valid SQL statement?

A) SELECT contact Contact's Name
FROM publisher;
B) SELECT contact, name
FROM publisher;
C) SELECT publisherID
FROM publisher;
D) SELECT name
FROM publishers;
سؤال
Contents of the PUBLISHER table
<strong>Contents of the PUBLISHER table   Based upon the contents of the PUBLISHER table, which of the following SQL statements will display only two columns in the results?</strong> A) SELECT * FROM publisher; B) SELECT contact name FROM publisher; C) SELECT contact person, name FROM publisher; D) none of the above <div style=padding-top: 35px>
Based upon the contents of the PUBLISHER table, which of the following SQL statements will display only two columns in the results?

A) SELECT * FROM publisher;
B) SELECT contact name FROM publisher;
C) SELECT contact person, name FROM publisher;
D) none of the above
سؤال
What is the correct answer for the arithmetic expression 9+2*3-2 using the order of operations employed by Oracle10g when solving equations?

A) 13
B) 31
C) 10
D) 12
سؤال
Which of the following keywords can be included in a SELECT statement to suppress duplicate data?

A) UNIQ
B) DISTINCT
C) SUPPRESS
D) all of the above
سؤال
Which of the following statements is correct?

A) The columns will be listed in the results in the same order they are stored in the database table.
B) Character columns are listed first in the output, followed by numeric columns.
C) The columns will be listed in the results in the same order they are listed in the SELECT clause of the SELECT statement.
D) Numeric columns are listed first in the output, followed by character columns.
سؤال
Which of the following symbols can be used to combine data from different columns into one column of output?

A) ||
B) ^
C) %
D) *
سؤال
Contents of the PUBLISHER table
<strong>Contents of the PUBLISHER table   Based upon the contents of the PUBLISHER table, which of the following is not a valid SQL statement?</strong> A) SELECT * FROM publisher; B) SELECT name, contact FROM publisher/ C) SELECT name, phone FROM publisher / D) SELECT * FROM publisher; <div style=padding-top: 35px>
Based upon the contents of the PUBLISHER table, which of the following is not a valid SQL statement?

A) SELECT * FROM publisher;
B) SELECT name, contact FROM publisher/
C) SELECT name, phone
FROM publisher
/
D) SELECT *
FROM publisher;
سؤال
Which of the following types of columns will automatically left-align the column heading when it is displayed?

A) character
B) numeric
C) date
D) both a and c
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/122
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 2: Basic Sql Select Statements
1
A user can indicate that all columns of a table should be displayed in the results of a SELECT statement by including an asterisk (*) in the SELECT clause.
True
2
By default, a column alias is displayed in lower case characters in the results.
False
3
The columns displayed in the results of a SELECT statement will be in the same order as they are stored in the database table.
False
4
A query is accomplished by issuing a SELECT statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
5
If you assign a column alias to a column, it must be enclosed in double quotation marks (" ").
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
6
If a column name is entered in lower case in the SELECT statement, the data for the column will be displayed in lower case in the results.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
7
The asterisk symbol (*) can be used in a SELECT statement to indicate that all rows in the table should be displayed in the results.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
8
Column headings may be truncated in the results of a SELECT statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
9
The majority of operations performed on a typical database table utilize the SELECT statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
10
A script file containing SQL statements can be executed from SQL*Plus.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
11
Choosing specific columns to be displayed by a SELECT statement is known as selection.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
12
SQL*Plus can only be accessed via an internet interface.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
13
SQL*Plus is an Oracle tool used to enter and edit SQL statements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
14
Choosing specific columns to be displayed by a SELECT statement is known as projection.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
15
If multiple column names are listed in the SELECT clause of a SELECT statement, the columns must be separated by a comma (,).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
16
A clause is a section within a SQL statement that begins with a keyword.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
17
Each section of a SQL command that begins with a keyword is known as a statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
18
The SELECT clause of the SELECT statement is used to identify which rows are to be retrieved from a specified table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
19
When a user asks the database a question, the user is issuing a query.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
20
The DESCRIBE command is used to view data in a table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
21
Choosing specific columns from a database through a SELECT statement is known as  projection \underline {\text { projection }} _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
22
A double backslash (\\) is used to indicate concatenation in a SELECT statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
23
Each section of a statement that begins with a keyword is known as a(n)  buffer \underline { \text { buffer } } . _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
24
The  SELECT \underline {\text { SELECT } } command can be used to display the structure of a database table. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
25
The  ALL \underline { \text { ALL } } option can be used in the SELECT clause to indicate that all columns should be retrieved. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
26
A column heading that is longer than the width of a column will not be truncated for a column that is defined to store  character \underline { \text { character } } data. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
27
A(n)  WHERE \underline { \text { WHERE } } statement allows a user to retrieve data from a database table. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
28
Parentheses can be used to override the order of operations in an arithmetic expression.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
29
The only required clauses for a SELECT statement are the  WHERE \underline {\text { WHERE }} and FROM clauses. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
30
A(n)  CRBMDS \underline { \text { CRBMDS } } is a software program that can be used to create a relational database and allows you to enter, manipulate, and retrieve data. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
31
In a(n)  SELECT \underline {\text { SELECT } } statement, keywords, table names, and column names are not case sensitive. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
32
The following arithmetic operations can be performed in the SELECT clause of a SELECT statement: addition (+), subtraction (-), multiplication (*), division (/), and exponential (^).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
33
Concatenation refers to combining the results of several SELECT statements into one result.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
34
The  SELECT \underline { \text { SELECT } } clause identifies the table containing the data to be queried. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
35
The optional keyword AS can be used to indicate that the subsequent string of characters is a column alias.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
36
Each clause of a SELECT statement  must \underline {\text { must } } be entered on a new line in SQL*Plus. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
37
The DIST or UNIQ keywords can be used to suppress duplicate data in the results of a SELECT statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
38
When listing more than one column name in the SELECT clause of a SELECT statement, the column names must be separated by  semicolons \underline {\text { semicolons }} . _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
39
The  syntax \underline { \text { syntax } } for a SQL statement gives the basic structure required to execute the statement. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
40
A query can be executed in the SQL Plus \underline{\mathrm{SQL}^{*} \text { Plus }} tool. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
41
Combining the contents of two or more columns is known as  projection \underline {\text { projection } } . _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
42
By default, data within a character or data column is  right \underline { \text { right } } -aligned when it is displayed. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
43
The use of a column alias in the SELECT clause can be designated by the keyword  ALIAS \underline { \text { ALIAS } } . _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
44
Which of the following are case sensitive in Oracle11g?

A) keywords
B) column names
C) table names
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
45
The entire column heading for a column will be displayed, regardless of the assigned width of the column, if the column is defined as a(n) ____ column.

A) character
B) alphanumeric
C) date
D) numeric
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
46
When solving arithmetic expressions, Oracle11g always resolves addition and subtraction operations  first \underline {\text { first } } from left to right in the expression. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
47
The  DISTINCT \underline {\text { DISTINCT } } keyword can be used to indicate that duplicate data should be suppressed in the results of a query. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
48
Which of the following commands can be used to view the structure of a table?

A) CONCATENATION
B) DESCRIBE
C) SELECT
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
49
To indicate which database table contains the data to be selected by a query, the table name should be listed in the ____ clause.

A) SELECT
B) FROM
C) WHERE
D) HAVING
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
50
The ____ for a SQL statement gives the basic structure, or rules, required to execute the statement.

A) clauses
B) keywords
C) sequence
D) syntax
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
51
Which of the following symbols represents all the columns contained in a table?

A) /
B) ;
C) *
D) ^
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
52
 Parentheses \underline{\text { Parentheses }} can be used to override the order of operations in an arithmetic expression. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
53
Insignificant zeros  are \underline { \text { are } } displayed for numeric columns by default to show two decimal places. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
54
By default, data within a numeric column is  right \underline {\text { right } } -aligned when it is displayed. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
55
A(n) ____ has a predefined meaning in Oracle11g.

A) keyword
B) statement
C) syntax
D) clause
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
56
What is used to indicate the end of an SQL statement?

A) /
B) :
C) ;
D) *
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
57
Which of the following is a mandatory clause in a SELECT statement?

A) FROM
B) WHERE
C) HAVING
D) both a and b are mandatory
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
58
Which of the following commands is used to issue a query?

A) QUER
B) FROM
C) SELECT
D) QUESTION
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
59
A string literal must be enclosed in  double \underline { \text { double } } quotation marks. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
60
If a column alias contains a blank space, it must be enclosed in  double \underline {\text { double } } quotation marks. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
61
Contents of the PUBLISHER table
<strong>Contents of the PUBLISHER table   Based upon the contents of the PUBLISHER table, which of the following SELECT statements will display the publisher's name first in the results?</strong> A) SELECT * FROM publisher; B) SELECT pubid, contact FROM publisher; C) SELECT name, publisherID FROM publishers; D) none of the above
Based upon the contents of the PUBLISHER table, which of the following SELECT statements will display the publisher's name first in the results?

A) SELECT * FROM publisher;
B) SELECT pubid, contact FROM publisher;
C) SELECT name, publisherID FROM publishers;
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
62
Contents of the PUBLISHER table
<strong>Contents of the PUBLISHER table   Based upon the contents of the PUBLISHER table, which of the following is a valid SQL statement?</strong> A) SELECT * FROM pubid; B) SELECT * FROM name; C) SELECT * FROM contact; D) SELECT * FROM publisher;
Based upon the contents of the PUBLISHER table, which of the following is a valid SQL statement?

A) SELECT * FROM pubid;
B) SELECT * FROM name;
C) SELECT * FROM contact;
D) SELECT * FROM publisher;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
63
What is the correct solution for the arithmetic expression (2+8)/2*9/3 using the order of operations employed by Oracle10g when solving equations?

A) 1.336
B) 4.8
C) 15
D) 14
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
64
What is the correct answer for the arithmetic expression 9+2*(3-4) using the order of operations employed by Oracle10g when solving equations?

A) -11
B) -18
C) 9
D) 7
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
65
Which of the following types of columns will automatically right-align the data when it is displayed?

A) character
B) date
C) alphanumeric
D) numeric
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
66
Combining the contents of two or more columns is known as ____.

A) projection
B) concatenation
C) selection
D) suppression
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
67
If a column alias contains a blank space, it must be enclosed in ____.

A) single quotation marks (' ')
B) double quotation marks (" ")
C) asterisks (* *)
D) percent signs (% %)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
68
If the results of a SELECT statement include more than one column of data, the column names must be separated in the SELECT clause by which of the following symbols?

A) ,
B) " "
C) ' '
D) *
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
69
A column alias must be contained within double quotation marks (" ") if it contains which of the following?

A) blank spaces
B) special symbols
C) characters that should be displayed in lower or mixed case
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
70
Which of the following keywords can be used to indicate that a column alias should be included in the results?

A) AS
B) FROM
C) SELECT
D) ALIAS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
71
What is the correct solution for the arithmetic expression 2+8/2*9/3 using the order of operations employed by Oracle10g when solving equations?

A) 0.1
B) 4.8
C) 15
D) 14
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
72
A string literal must be enclosed in ____.

A) single quotation marks (' ')
B) double quotation marks (" ")
C) asterisks (* *)
D) percent signs (% %)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
73
Contents of the PUBLISHER table
<strong>Contents of the PUBLISHER table   Based upon the contents of the PUBLISHER table, which of the following is a valid SQL statement?</strong> A) SELECT contact Contact's Name FROM publisher; B) SELECT contact, name FROM publisher; C) SELECT publisherID FROM publisher; D) SELECT name FROM publishers;
Based upon the contents of the PUBLISHER table, which of the following is a valid SQL statement?

A) SELECT contact Contact's Name
FROM publisher;
B) SELECT contact, name
FROM publisher;
C) SELECT publisherID
FROM publisher;
D) SELECT name
FROM publishers;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
74
Contents of the PUBLISHER table
<strong>Contents of the PUBLISHER table   Based upon the contents of the PUBLISHER table, which of the following SQL statements will display only two columns in the results?</strong> A) SELECT * FROM publisher; B) SELECT contact name FROM publisher; C) SELECT contact person, name FROM publisher; D) none of the above
Based upon the contents of the PUBLISHER table, which of the following SQL statements will display only two columns in the results?

A) SELECT * FROM publisher;
B) SELECT contact name FROM publisher;
C) SELECT contact person, name FROM publisher;
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
75
What is the correct answer for the arithmetic expression 9+2*3-2 using the order of operations employed by Oracle10g when solving equations?

A) 13
B) 31
C) 10
D) 12
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
76
Which of the following keywords can be included in a SELECT statement to suppress duplicate data?

A) UNIQ
B) DISTINCT
C) SUPPRESS
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
77
Which of the following statements is correct?

A) The columns will be listed in the results in the same order they are stored in the database table.
B) Character columns are listed first in the output, followed by numeric columns.
C) The columns will be listed in the results in the same order they are listed in the SELECT clause of the SELECT statement.
D) Numeric columns are listed first in the output, followed by character columns.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
78
Which of the following symbols can be used to combine data from different columns into one column of output?

A) ||
B) ^
C) %
D) *
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
79
Contents of the PUBLISHER table
<strong>Contents of the PUBLISHER table   Based upon the contents of the PUBLISHER table, which of the following is not a valid SQL statement?</strong> A) SELECT * FROM publisher; B) SELECT name, contact FROM publisher/ C) SELECT name, phone FROM publisher / D) SELECT * FROM publisher;
Based upon the contents of the PUBLISHER table, which of the following is not a valid SQL statement?

A) SELECT * FROM publisher;
B) SELECT name, contact FROM publisher/
C) SELECT name, phone
FROM publisher
/
D) SELECT *
FROM publisher;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
80
Which of the following types of columns will automatically left-align the column heading when it is displayed?

A) character
B) numeric
C) date
D) both a and c
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 122 في هذه المجموعة.