Docsity

SQL Final Exam Review: Core Database Concepts & Query Language, Exams of Computer Security

Toggle sidebar
bg1
SQL FINAL EXAM (UPDATED)
COMPLETE QUESTIONS & ANSWERS
(SOLVED) CORRECT GRADED A+
LATEST UPDATE CURRENT TESTING
Database - ANSWER-A collection of electronically stored
organized files.
Server - ANSWER-A multiple-user computer that
provides shared database connection, interfacing, and
processing services.
Field - ANSWER-Column that runs vertically within a
table.
Foreign key - ANSWER-Link records of one type with
those of another type.
Keys - ANSWER-Uniquely identify a row or record in a
table.
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download SQL Final Exam Review: Core Database Concepts & Query Language and more Exams Computer Security in PDF only on Docsity!

SQL FINAL EXAM (UPDATED)

COMPLETE QUESTIONS & ANSWERS

(SOLVED) CORRECT GRADED A+

LATEST UPDATE CURRENT TESTING

Database - ANSWER-A collection of electronically stored organized files. Server - ANSWER-A multiple-user computer that provides shared database connection, interfacing, and processing services. Field - ANSWER-Column that runs vertically within a table. Foreign key - ANSWER-Link records of one type with those of another type. Keys - ANSWER-Uniquely identify a row or record in a table.

Normalization - ANSWER-A three-step technique used to organize data attributes in a more efficient, reliable, flexible, and maintainable structure. ASC keyword - ANSWER-Used to sort data in ascending order. Data type - ANSWER-Specifies the type of data that a column can hold (e.g., text and numbers). DESC keyword - ANSWER-Used to sort data in descending order ORDER BY clause - ANSWER-Retrieves the name of one or more columns from the SELECT statement, and sorts (ascending or descending) the output. Client - ANSWER-A single-user computer that interfaces with the multiple-user server. Client/server database system - ANSWER-A system that

Query - ANSWER-A question or command you pose concerning data from the database. Parts of a query include the following: Clause - ANSWER-A segment of an SQL statement combined to form a complete SQL statement. Parts of a query include the following: Keywords - ANSWER-Reserved words that allow you to communicate with a database. Parts of a query include the following: Statement - ANSWER-Keywords and data supplied within an SQL query. Keywords: FROM keyword - ANSWER-Used to tell the database which table to retrieve the columns from. Keywords:

SELECT keyword - ANSWER-Used to tell the database which column(s) to display. Syntax Rules - ANSWER-Syntax refers to the rules that govern how a programming language must be written. Comparison Operators - ANSWER- Comparison Operators - ANSWER-The comparison operators are used to compare expressions. An expression is any data type that returns a value Arithmetic Operators

  • ANSWER-Plus (+) Minus (-) Divide (/) Modulus (%) Multiply (*) Sorting Data Using the WHERE Clause - ANSWER-The ability to sort data further enhances the data-retrieval process. Sorting data involves filtering and arranging retrieved data in a customized fashion. In SQL, this is achieved by using the following clauses:

NOT operator - ANSWER-A logical operator used to match any condition opposite of the one defined. ASC keyword - ANSWER-Used to sort data in ascending order. Data type - ANSWER-Specifies the type of data that a column can hold (e.g., text and numbers). DESC keyword - ANSWER-Used to sort data in descending order ORDER BY clause - ANSWER-Retrieves the name of one or more columns from the SELECT statement, and sorts (ascending or descending) the output. Client - ANSWER-A single-user computer that interfaces with the multiple-user server. Client/server database system - ANSWER-A system that divides processing between client computers and a database server.

Database - ANSWER-A collection of electronically stored organized files. Server - ANSWER-A multiple-user computer that provides shared database connection, interfacing, and processing services. Field - ANSWER-Column that runs vertically within a table. Foreign key - ANSWER-Link records of one type with those of another type. Keys - ANSWER-Uniquely identify a row or record in a table. Normalization - ANSWER-A three-step technique used to organize data attributes in a more efficient, reliable, flexible, and maintainable structure.

Parts of a query include the following: Clause - ANSWER-A segment of an SQL statement combined to form a complete SQL statement. Parts of a query include the following: Keywords - ANSWER-Reserved words that allow you to communicate with a database. Parts of a query include the following: Statement - ANSWER-Keywords and data supplied within an SQL query. Keywords: FROM keyword - ANSWER-Used to tell the database which table to retrieve the columns from. Keywords: SELECT keyword - ANSWER-Used to tell the database which column(s) to display.

Syntax Rules - ANSWER-Syntax refers to the rules that govern how a programming language must be written. Comparison Operators - ANSWER- Comparison Operators - ANSWER-The comparison operators are used to compare expressions. An expression is any data type that returns a value Arithmetic Operators - ANSWER-Plus (+) Minus (-) Divide (/) Modulus (%) Multiply (*) Sorting Data Using the WHERE Clause - ANSWER-The ability to sort data further enhances the data-retrieval process. Sorting data involves filtering and arranging retrieved data in a customized fashion. In SQL, this is achieved by using the following clauses: GROUP BY

NOT operator - ANSWER-A logical operator used to match any condition opposite of the one defined.