Unlock access to all the studying documents.
View Full Document
Chapter 3: Creating Tables
Cengage Learning Testing, Powered by Cognero
1. SQL was developed as the data manipulation language for IBM’s prototype relational model DBMS, System R.
2. This text uses Oracle Database 11g Express Edition as the DBMS in which to create and run SQL commands.
3. To move back one or more pages in Oracle Database 11g Express, click the pages icon in the task bar.
4. To create a table, type the command DESCRIBE TABLE followed by the name of the table to be created and then by
the names and data types of the columns that will comprise the table.
5. Table names cannot contain spaces.
6. In general, SQL is case-sensitive.
7. In SQL, there are special rules that specify that a particular word must begin in a particular position on the line.
Chapter 3: Creating Tables
Cengage Learning Testing, Powered by Cognero
8. To run SQL commands in Access, you must first create a new query.
9. Unlike Oracle, Access does not support the DECIMAL data type.
10. In Access, it is common to create a table using SQL.
11. Microsoft SQL Server is a DBMS designed for use in client-server applications.
12. When adding rows to character columns, make sure you enclose the values in single quotation marks.
13. Dropping a table also deletes any data that you entered into the table.
Cengage Learning Testing, Powered by Cognero
20. To enter a null value into a table, you use a special format of the NULL command.
21. To view data in a table, use the VIEW command.
22. To change a value in a table, use the CHANGE command.
23. If you added a row that should not be in a table, use a REMOVE command to remove it.
24. The Oracle Database 11 g Express edition allows you to save a command so you can use it again without retyping it.
25. Oracle stores script files is a special location called Saved Commands.
26. Access does not use script files.
Chapter 3: Creating Tables
Cengage Learning Testing, Powered by Cognero
27. To list all the columns in a table, use the LIST COLUMNS command.
28. The DESCRIBE TABLE command defines a table’s structure by listing its columns, data types, and column lengths.
29. In Access, use the Documenter tool to describe the tables in a database.
30. In SQL Server, execute the sp_columns command to list all the columns in a table.
31. SQL was developed in the mid-____.
32. What is the original name of SQL?
Chapter 3: Creating Tables
Cengage Learning Testing, Powered by Cognero
33. In SQL, table names cannot exceed ____ characters.
34. Which of the following is a valid name for a table?
35. If your screen displays the SQL Scripts page, the Home>SQL Workshop>SQL Scripts reference near the top of the
SQL Scripts page is called a ____.
36. You indicate the end of a command by typing a ____.
Cengage Learning Testing, Powered by Cognero
37. To delete an entire table, use the ____ command and then re–create the table.
38. In Oracle, dates have the format ____.
39. In Access, dates are enclosed in number signs and are entered using the format ____.
40. The ____ data type is used to store integers.
41. The ____ data type stores only the actual character string.
Cengage Learning Testing, Powered by Cognero
42. Use the ____ data type for columns that contain letters and special characters and for columns containing numbers that
will not be used in calculations.
43. Access does not support the ____ data type.
44. For any column whose data type is CHAR, values must be enclosed in ____.
45. To display all the rows and columns in a table, type the word SELECT, followed by a(n) ____, followed by the word
FROM and then the name of the table containing the data you want to view.
46. Which of the following commands changes the value in a column?
Cengage Learning Testing, Powered by Cognero
52. In this text, SQL commands are illustrated using ____________________.
Oracle
Oracle Database Express Edition
Oracle 11g Express
53. In Oracle 11g Express, you enter and run commands using the SQL ____________________ tool.
54. In Oracle 11g Express, you enter a command in the SQL editor pane and then click the ____________________
button to execute the command.
55. You use the ____________________ command to describe the layout of a table.
56. In Oracle 11 g Express, the results of a SQL command appear in the ____________________ pane.
57. You can delete the entire table using the ____________________ TABLE command.
58. You can use the ____________________ data type to store date data.
59. The ____________________ data type stores integers but uses less space than the INT data type.
60. The data type DECIMAL(5,2) represents a number with ____________________ places to the left and two places to
the right of the decimal.
Chapter 3: Creating Tables
POINTS:
1
REFERENCES:
65
allowed.
POINTS:
1
REFERENCES:
71
POINTS:
1
REFERENCES:
78
POINTS:
1
REFERENCES:
78
ANSWER:
POINTS:
1
REFERENCES:
78
70. In Access, use the ____________________ tool to describe the tables and other objects in a database.