Preview

unit 6

Satisfactory Essays
Open Document
Open Document
360 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
unit 6
Unit 6 Assignment 1: Homework
Learning Objectives and Outcomes
Name the main events in the development of SQL statements.
Run SELECT queries with wild cards, DISTINCT key word, calculations, sorting and aliasing.
Run queries with the WHERE clause to filter the result sets.
Use the Aggregate functions COUNT, AVG, SUM, MIN, and MAX.

Assignment Requirements
Answer the true-or-false questions on the next page by filling out the answer sheet.

Required Resources
Textbook

Submission Requirements
Submit your completed answer sheet to your instructor at the beginning of Unit 7.
Unit 6 True/False Questions
Indicate whether the following statements are true or false on the student answer sheet.

1) SQL is the programming language used to manipulate data and data objects in a relational database management system.
2) SQL is a procedural language.
3) A declarative language is a language in which you tell the computer what to do not how.
4) DML, or Data Manipulation Language, contains all the commands for selecting and modifying data.
5) DDL, or Data Definition Language, contains all the commands for selecting and modifying data.
6) The * in SELECT * clause of an SQL statement is a wildcard for returning all columns in a table.
7) The DISTINCT keyword in a SELECT statement returns only unique rows.
8) The FROM keyword is used in a SELECT clause to determine which columns are included in the query.
9) An alias in SQL is a substitute name for a column or table.
10) When using an alias in SQL, the AS keyword is required.
11) By default, ORDER BY sorts a column in an ascending order.
12) DESC reverses the sort order of ORDER BY.
13) The WHERE clause is used to set criteria by which to filter which rows are returned or affected.
14) The LIKE keyword can be used with the '%' to search for patterns in character data.
15) The LIKE keyword can be used to search data with any kind of data type.
16) The BETWEEN keyword used in a criteria is inclusive of its boundary values.
17) When

You May Also Find These Documents Helpful

  • Satisfactory Essays

    SELECT clause specifies which columns are to list in the query results. FROM clause specifies which tables are to be used in the query. WHERE clause specifies which rows are to listed in the query result…

    • 314 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    A data manipulation language, such as SQL, that is used to add, change, delete, and retrieve the data in the database. This language contains commands that permit end users and programming specialists to extract data from the database to satisfy information requests and develop applications.…

    • 890 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Under the relational model, accessing data in a database does not require navigating a rigid pathway through a tree or hierarchy. Users can query any table in the database, and combine related tables using special join functions to include relevant data contained in other tables in the results. Results can be filtered based on the content of any column, and on any number of columns, allowing users to easily retrieve meaningful results. Users can choose which columns to include in the results so that only relevant data are displayed.…

    • 875 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Logic Circuit

    • 3503 Words
    • 15 Pages

    There are several ways you can categorize subqueries—by the number of results they returns, whether they’re correlated (linked to the outer query), or where they’re used within a DML statement. For the purposes of this article, I take the last approach and explain how subqueries can be implemented in the SELECT, FROM, and WHERE clauses of a SELECT statement. Although you can implement subqueries in other clauses and other statement types, the examples I provide should demonstrate the essential principles of how subqueries can be used in any circumstances. (The examples all return data from the…

    • 3503 Words
    • 15 Pages
    Good Essays
  • Good Essays

    The CREATE statement is used to create tables. It is also used to create indexes, views, and triggers.…

    • 864 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    RQ7 COMMANDS PT2520

    • 413 Words
    • 3 Pages

    11. _______________Clause sets a conditional statement, and it can be used with any type of SQL query…

    • 413 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    dbms notes

    • 2145 Words
    • 23 Pages

    WHERE:- The where clause consists of a predicate involving attributes of the relations that appear in the from clause.…

    • 2145 Words
    • 23 Pages
    Powerful Essays
  • Good Essays

    Mister

    • 1807 Words
    • 8 Pages

    • What is meant by relational algebra? • How to manipulate database tables using relational set operators • How the DBMS supports the key relational operators: select, project and join. • The different types of joins. • How to write queries using relational algebra expressions.…

    • 1807 Words
    • 8 Pages
    Good Essays
  • Powerful Essays

    Sql Study Matetial

    • 21631 Words
    • 87 Pages

    Jim Melton and Alan R. Simon: Understanding the New SQL: A Complete Guide (2nd Edition,…

    • 21631 Words
    • 87 Pages
    Powerful Essays
  • Powerful Essays

    D. The number of columns and data types must be identical for all SELECT statements in the…

    • 12451 Words
    • 50 Pages
    Powerful Essays
  • Powerful Essays

    595 NSA

    • 7641 Words
    • 31 Pages

    11) In a relational database, all data is kept in tables, even the information about the tables.…

    • 7641 Words
    • 31 Pages
    Powerful Essays
  • Powerful Essays

    Data Management

    • 32533 Words
    • 131 Pages

    DC10 Q.6 ‘AS’ clause is used in SQL for (A) Selection operation. (C) Join operation.…

    • 32533 Words
    • 131 Pages
    Powerful Essays
  • Satisfactory Essays

    Relational Database

    • 407 Words
    • 2 Pages

    A primary key composed of multiple columns used to identify a record uniquely is called…

    • 407 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Hime

    • 1241 Words
    • 5 Pages

    • A result set for each SELECT statement contained in the stored procedure or any other stored procedures called by the stored procedure.…

    • 1241 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    SQL means Structured Query Language. It is the set of commands that is recognized by all RDBMS.…

    • 4250 Words
    • 17 Pages
    Powerful Essays

Related Topics