100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

Section 2 Question and answers 100% correct 2024

Rating
-
Sold
-
Pages
17
Grade
A+
Uploaded on
01-09-2024
Written in
2024/2025

Section 2 Question and answers 100% correct 2024 Queries The Movie table has the following columns: ID - positive integer Title - variable-length string Genre - variable-length string RatingCode - variable-length string Year - integer Write ALTER statements to make the following modifications to the Movie table: Add a Producer column with VARCHAR data type (max 50 chars). ALTER TABLE Movie

Show more Read less
Institution
WGU D427
Course
WGU D427

Content preview

Section 2
An SQL ______ is a complete command composed of one or more clauses. A
______ groups SQL keywords like SELECT, FROM, and WHERE with table
names like City, column names like Name, and conditions like Population >
100000
statement, clause




The SQL language is divided into five sublanguages:
Data Definition Language (DDL) defines the structure of the database.


Data Query Language (DQL) retrieves data from the database.


Data Manipulation Language (DML) manipulates data stored in a database.


Data Control Language (DCL) controls database user access.


Data Transaction Language (DTL) manages database transactions.




The ______ DATABASE statement creates a new database. Once a
database is created, tables can be added to the database. The ____
DATABASE statement deletes the database, including all tables in the
database.

,CREATE, DROP




The _____ statement provides database users and administrators with
information about databases, the database contents (tables, columns, etc.),
and server status information.
SHOW


Commonly used SHOW statements include:


SHOW DATABASES lists databases available in the database system.
SHOW TABLES lists tables available in the currently selected database.
SHOW COLUMNS lists columns available in a specific table named by a
FROM clause.
SHOW CREATE TABLE shows the CREATE TABLE statement for a given
table.




The ____ statement selects a database and is required to show information
about tables within a specific database.
USE




SHOW AND USE EXAMPLE

, When creating a table, every table column must be assigned a data type.
Common data types include: integer, decimal, date and time, and character.
Most databases allow integer and decimal numbers to be signed or unsigned.


A ____ number is a number that may be negative.


An _______ number is a number that cannot be negative.


signed, unsigned




Integer Types




Decimal Types




Date and Time Types




Character Types




T or F?


The statement DROP Employee; deletes the Employee table.
False

Written for

Institution
WGU D427
Course
WGU D427

Document information

Uploaded on
September 1, 2024
Number of pages
17
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • section 2

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Academia199 Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
356
Member since
3 year
Number of followers
209
Documents
19269
Last sold
1 week ago

3.9

51 reviews

5
27
4
7
3
7
2
3
1
7

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions