Data Management Question and answers correctly solved 2024
8 views 0 purchase
Course
WGU D427
Institution
WGU D427
Data Management Question and answers correctly solved 2024 Data Management Foundations Pre Test 2
1. A record consists of a ____.
a. character
b. collection of related records
c. set of one or more fields
d. group of files
C
2. A DBMS performs several important functions that guarantee...
Data Management - Applications - D427
Create a data type with a positive value
UNSIGNED
Designating a foreign key in CREATE TABLE statement
FOREIGN KEY (ColumnName)
REFERENCES Tablename(ColumnName),
Command to add a column to an existing table
ALTER TABLE TableName
ADD COLUMN ColumnName DATATYPE;
SQL statement to create a view name Myview that contains X, Y, Z columns
from the Maintable table.
CREATE VIEW Myview AS
SELECT X, Y, Z
FROM Maintable;
SQL statement to delete the view named Myview
, DROP VIEW Myview;
SQL statement to modify the Test table to make the ID column the primary
key
ALTER TABLE Test
ADD PRIMARY KEY (ID);
Write a SQL statement to designate the Year column in the Movie table as a
foreign key to the Year column in the YearStats table.
ALTER TABLE Movie
ADD FOREIGN KEY (Year)
REFERENCES YearStats(Year);
Write a SQL statement to create an index named idx_year on the Year
column of the Movie table.
CREATE INDEX idx_year
ON Movie (Year);
SQL statement to add a new row to a table
INSERT INTO Table (column1, column2,...)
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Academia199. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.99. You're not tied to anything after your purchase.