Chapter 2: Basic SQL SELECT Statements
TRUE/FALSE
1. An RDBMS is a software program that allows users to enter, manipulate, and retrieve data.
ANS: T PTS: 1 REF: 25
2. An ORDBMS is more advanced than a simple RDBMS since the user can also create reports.
ANS: F PTS: 1 REF: 26
3. There are six editions available for Oracle10g.
ANS: F PTS: 1 REF: 26
4. The majority of operations performed on a database table utilize the SELECT statement.
ANS: T PTS: 1 REF: 28
5. When a user asks the database a question, the user is issuing a query.
ANS: T PTS: 1 REF: 28
6. Each section of a SQL command that begins with a keyword is known as a statement.
ANS: F PTS: 1 REF: 29
7. A clause is a section within a SQL statement that begins
…show more content…
The syntax for a SQL statement gives the basic structure required to execute the statement. _________________________
ANS: T PTS: 1 REF: 28
4. A query can be executed in the SQL*Plus tool. _________________________
ANS: T PTS: 1 REF: 26
5. Each section of a statement that begins with a keyword is known as a(n) buffer. _________________________
ANS: F, clause
PTS: 1 REF: 29
6. The only required clauses for a SELECT statement are the WHERE and FROM clauses. _________________________
ANS: F, SELECT
PTS: 1 REF: 29
7. The ALL option can be used in the SELECT clause to indicate that all columns should be retrieved. _________________________
ANS: F, *
PTS: 1 REF: 29
8. Each clause of a SELECT statement must be entered on a new line in SQL*Plus. _________________________
ANS: F, optional
PTS: 1 REF: 29
9. The SELECT clause identifies the table containing the data to be queried. _________________________
ANS: F, FROM
PTS: 1 REF: 29
10. 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 data. _________________________
ANS: F, numeric
PTS: 1 REF: 30
11. The SELECT command can be used to display the structure of a database table. _________________________
ANS: F, DESCRIBE
PTS: 1 REF: 27 | 30
12. Choosing specific columns from a database through a SELECT statement is known as projection. _________________________
ANS: T PTS: 1 REF: 31
13. In
What must the pointer look like to change the width of a column?*** (Unit 5)
Unique Column and Table Names: A column name within the table is unique because it is referenced by its table name. RDBMS does not restrict other tables to use same column names because they are identified by their table. Similarly table names within a database needs to be
Microsoft Access is not just a DBMS but it is a DBMS plus an application generator. Microsoft Access contains a DBMS engine that creates, processes, and administers the database and also contains form, report, and query components that are the Microsoft Access application generator.
3. (TCO 2) The symbols used to describe the logic of a program are known as _____.
Database interface's SQL editor provides an easy and efficient way to write and test scripts and queries. And its powerful data grid provides an easy way to view and edit data related to any DBMS/RDBMS tools.
Utilizing SQL Server 2000, which of the accompanying symbols is utilized to demonstrate parameters in stored systems?
The use of the underscore ("_") in the LIKE operator to access the data if we don't know the character in between but we just know the first and last character(s) really surprised me the caused me the wonder. This caused me the wonder because I had never thought about this type of characteristics of the SQL statement for the DBMS.
Many Oracle reserved words are valid object or column names in Microsoft SQL Server. For example, DATE is a reserved word in Oracle, but it is not a reserved word in Microsoft SQL Server. Therefore, no column is allowed to have the name DATE in Oracle, but a column can be named DATE in Microsoft SQL Server. Use of reserved words as schema object names makes it impossible to use the same names across databases.
Introduction: A company called Ian’s & Co currently employs a team of IT technicians to manage their IT infrastructure and also support the IT users. Also quite recently the company has taken over a similar but a smaller company which is also employs technical support staff in the same way.
In the second type, each query’s scope was one hundred (100) records, and the connection, statement and result set are again released and created for each of these queries. The single record queries represent database operations like transactions targeting single records in tables. The queries targeting one hundred (100) records represent bulk operations like the jobs running at the end-of-day operations.
The Show Table dialog box displays all of the tables and queries in the database. To see only tables, click Tables. To see only queries, click Queries. To see both, click Both.