Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CIS 407 final Exam Questions and answers, Graded A+/ 2024/25 Exam PREDICTOR PAPER

Rating
-
Sold
1
Pages
16
Grade
A+
Uploaded on
24-12-2023
Written in
2023/2024

CIS 407 final Exam Questions and answers, Graded A+ What is the difference between DDL, DML, and DCL? Examples? - -DDL (data definition language) = define and manage structure of the database ex. create, alter, drop table DML (data manipulation language) = manipulate data ex. insert into table, update, delete from DCL (data control language) = controls access to data ex. grant, revoke How to create a table in SQL - -CREATE TABLE name ( how to alter a table in SQL - -ALTER TABLE name alters table structure how to drop a table in SQL - -DROP TABLE name; How to insert data into a table - -INSERT INTO name (columns being inserted into) VALUES (values inserted) adds records how to delete data in a table - -DELETE FROM na

Show more Read less
Institution
Course

Content preview

CIS 407 final Exam Questions and
answers, Graded A+

What is the difference between DDL, DML, and DCL? Examples? - ✔✔-DDL (data definition language) =

define and manage structure of the database




ex. create, alter, drop table




DML (data manipulation language) = manipulate data




ex. insert into table, update, delete from




DCL (data control language) = controls access to data




ex. grant, revoke




How to create a table in SQL - ✔✔-CREATE TABLE name (




how to alter a table in SQL - ✔✔-ALTER TABLE name

,alters table structure




how to drop a table in SQL - ✔✔-DROP TABLE name;




How to insert data into a table - ✔✔-INSERT INTO name (columns being inserted into)


VALUES (values inserted)




adds records




how to delete data in a table - ✔✔-DELETE FROM name




removes records




How to Update data (SQL) - ✔✔-UPDATE name




modifies existing records

, how to create relationships among tables - ✔✔-using foreign keys




Foreign Key (TableANum) REFERENCES TableA (TableANum),Foreign Key (TableBID) REFERENCES TableB

(TableBID))




how to add column or table constraints - ✔✔-ALTER TABLE Name


ADD new_column data_type


ALTER COLUMN column_name new_data_type


DROP COLUMN column_name




how to reverse commands - ✔✔-ALTER, DELETE FROM, UPDATE




what are the different data types - ✔✔-tinyint


smallint


Int


decimal (p,s)


date: YYYY-MM-DD char(n): where char(10) means a fixed length of 10 characters and missing characters

filled with blank spaces

Written for

Course

Document information

Uploaded on
December 24, 2023
Number of pages
16
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$10.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
PassPoint02 Chamberlain School Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
176
Member since
4 year
Number of followers
105
Documents
4576
Last sold
3 weeks ago

4.1

39 reviews

5
22
4
6
3
5
2
4
1
2

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions