








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









SQL Final Exam ( Updated 2026 ) 1 100 Complete Questions & Answers (Solved) 100% Correct Graded A+ 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.
SQL Defined - ANSWER-SQL is a nonprocedural language that is used to manipulate and retrieve data from relational DBMSs such as Microsoft Access, DB2, Sybase, and Microsoft SQL Server. It is considered nonprocedural because of the way operations are carried out. Unlike procedural computer languages like Basic and C, which are concerned with how to perform operations, SQL describes what needs to be processed. The focus is on what to retrieve, delete, or insert. 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
Asterisk wildcard character (*) - ANSWER-When used with the LIKE operator, you can match any number of occurrences of any character. Brackets wildcard character ( [] ) - ANSWER-When used with the LIKE operator, you can specify a set of characters that match a character in a specific position. LIKE operator - ANSWER-A character operator. When used in conjunction with asterisks or brackets, matches parts of a value within a table. IN operator - ANSWER-A miscellaneous operator that provides a shorter method for specifying a range of conditions. 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.
Row - ANSWER-A record that represents a collection of information relating to an item in a table. Table - ANSWER-Structured file containing rows and columns. SQL Defined - ANSWER-SQL is a nonprocedural language that is used to manipulate and retrieve data from relational DBMSs such as Microsoft Access, DB2, Sybase, and Microsoft SQL Server. It is considered nonprocedural because of the way operations are carried out. Unlike procedural computer languages like Basic and C, which are concerned with how to perform operations, SQL describes what needs to be processed. The focus is on what to retrieve, delete, or insert. 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.
Asterisk wildcard character (*) - ANSWER-When used with the LIKE operator, you can match any number of occurrences of any character. Brackets wildcard character ( [] ) - ANSWER-When used with the LIKE operator, you can specify a set of characters that match a character in a specific position. LIKE operator - ANSWER-A character operator. When used in conjunction with asterisks or brackets, matches parts of a value within a table.
IN operator - ANSWER-A miscellaneous operator that provides a shorter method for specifying a range of conditions. NOT operator - ANSWER-A logical operator used to match any condition opposite of the one defined.