Chapter 3: Structured Query Language (SQL), Questions with accurate answers. Graded A
Chapter 3: Structured Query Language (SQL), Questions with accurate answers. Graded A _______________ is not a complete programming language; rather, it is a data _______________ - structured query language (SQL); sublanguage Each updated version of SQL adds new features or extends existing SQL features, including SQL support for _______________ - Extensible Markup Language (XML) SQL has also been endorsed as a standard by the _______________ - International Organization for Standardization (ISO) SQL is text-oriented; it was developed long before the _______________ became common and requires only a text processor - graphical user interface (GUI) Microsoft Access uses SQL but hides it behind the scenes, presenting a variant of the _______________ GUI for general use - Query by Example (QBE) What are the five categories for SQL statements? - 1. data definition language (DDL) 2. data manipulation language (DML) 3. SQL/persistent stored modules (SQL/PSM) 4. transaction control language (TCL) 5. data control language (DCL) data definition language (DDL) - used for creating tables, relationships, and other structures data manipulation language (DML) - used for querying, inserting, modifying, and deleting data one component of SQL DML is a SQL view, which are pre-defined queries SQL/persistent stored modules (PSM) - statements that extend SQL by adding procedural programming capabilities, such as variables and flow-of-control statements, that provide some programmability within the SQL framework transaction control language (TCL) - statements which are used to mark transaction boundaries and control transaction behavior data control language (DCL) - statements which are used to grant database permissions (or to revoke those permissions) to users and groups so that the users or groups can perform various operations on the data in the database SQL statement to create tables - CREATE TABLE SQL statement to set initial values - DEFAULT SQL statement to set the primary key using a column constraint - PRIMARY KEY SQL statement to indicate that a value must be supplied - NOT NULL SQL statement to indicate that null values are allowed - NULL SQL statement to ensure that there will not be any duplicate values - UNIQUE SQL statement to create table constraints - CONSTRAINT
Información del documento
- Subido en
- 20 de octubre de 2022
- Número de páginas
- 6
- Escrito en
- 2022/2023
- Tipo
- Examen
- Contiene
- Preguntas y respuestas