Question

Which of the following database functions would be performed using a Data Definition Language (DDL)? Creating...

  1. Which of the following database functions would be performed using a Data Definition Language (DDL)?

Creating a new table in a database

Retrieving data from a database

Updating data in a database

Inserting new data into a database

Homework Answers

Answer #1

Answer: Creating a new table in a database,

Data Definition Language (DDL):

SQL can be categorized into 4 categories :

  1. DDL – Data Definition Language
  2. DQl – Data Query Language
  3. DML – Data Manipulation Language
  4. DCL – Data Control Language

Data Definition Language consists of SQL commands that can be used to define the data schema. It is used to create and modify the structure of database objects.

DDL consists of the following commands:

  1. Create (Create the database or its objects )
  2. Drop (Delete objects from database)
  3. Alter (Alter the structure of the database)
  4. Truncate (Remove all records from database as well as the space allocated )
  5. Comment (Add comments to the data dictionary)
  6. Rename (Rename an existing object )
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1. Most database applications require a host programming language to communicate with the database using SQL....
1. Most database applications require a host programming language to communicate with the database using SQL. A wide range of programming languages can be used with SQL,from traditional languages such as COBOL, FORTRAN, and Assembler to more modern languages such as C/C++, Java, and Visual Basic. Your choice of host programming language can impact the way you will have to code SQL. True or False? 2. It is an entity name guideline: a. Do not pluralize the name; use singular...
Consider the following relational database:               STUDENT     (STDNO, SNAME, DEPTNO#)             &n
Consider the following relational database:               STUDENT     (STDNO, SNAME, DEPTNO#)               DEP                 (DEPTNO, DNAME)               COURSE        (CORSNO, CNAME, DEPTNO#, CMAX)               ENROLMENT       (STDNO#, CORSNO#, GRADE, EDATE) STUDENT.DEPTNO is the department number of the student. COURSE.DEPTNO is the department number that offers the course. ENROLMENT models the registrations of students in courses (M:M relationship) where the GRADE is the grade obtained by the student in the course. PART I : DATA DESCRIPTION LANGUAGE (DDL) Write DDL commands to create the four...
1. Which of the following would be least likely to be represented with a Unified Modeling...
1. Which of the following would be least likely to be represented with a Unified Modeling Language (UML) Class? Why?                A)    Trucks                         B)    Currency                C)    Employees                D)    Bank Account 2.  Which situation best exemplifies why analysts must understand process decision requirements?                  A)    A business accepts cash, checks and all major credit cards                    B)    A business can only transact with retailers who have a valid business license                C)    A business sells multiple types of widgets...
If you need to store the following data in a relational database and MongoDB, how would...
If you need to store the following data in a relational database and MongoDB, how would you implement in each of them. List the design and commands to store these records in relational database and MongoDB separately. {no:1,name:"ST",salary:2000,role:"OB"} {no:2,name:"MSD",salary:1500,role:"WK"} {no:3,name:"YS",salary:1000,role:"ALR"},
If you need to store the following data in a relational database and MongoDB, how would...
If you need to store the following data in a relational database and MongoDB, how would you implement in each of them. List the design and commands to store these records in relational database (SQL query) and MongoDB separately. {no:1,name:"ST",salary:2000,role:"OB"} {no:2,name:"MSD",salary:1500,role:"WK"} {no:3,name:"YS",salary:1000,role:"ALR"},
Using the following definition for a BST node: class BTNode { public: int data; BTNode *left;...
Using the following definition for a BST node: class BTNode { public: int data; BTNode *left; BTNode *right; BTNode(int d,BTNode *l=nullptr,BTNode *r=nullptr) :data(d),left(l),right(r) {} }; Implement a function to calculate the balance factor of a node in a BST. The function prototype must match the following function: int balance_factor(BTNode *subtree) { // IMPLEMENT return -2; } You may implement other functions to help you. In particular, you may want to implement a function to calculate a node's height. //C++ #include...
Answer question with excel functions showing all steps; Using the data for a firm shown in...
Answer question with excel functions showing all steps; Using the data for a firm shown in the following​ table, calculate the cost of retained earnings and the cost of new common stock using the​ constant-growth valuation model Current market price per share $48 Dividend growth rate 8% Projected dividend per share next year $1.92 Underpricing per share $1.00 Flotation cost per share $2.25
USING JAVA LANGUAGE : Using Doubly Linked List, create a java code that does the following...
USING JAVA LANGUAGE : Using Doubly Linked List, create a java code that does the following Without using LinkedList from the JAVA LIBRARY. and please include methods for each function. Create a menu that contains the following operations : 1. Add new node to DLL. ( as a METHOD ) 2. Delete a node from DLL. ( as a METHOD ) 3. Show how many nodes in DLL. ( as a METHOD ) 4. Print all data in the DLL....
"Files" Please respond to the following: •Suppose you are creating a program to monitor a vehicle’s...
"Files" Please respond to the following: •Suppose you are creating a program to monitor a vehicle’s location, a feature that a Global Positioning System (GPS) provides. Suggest one (1) method for saving and organizing the data you received from GPS so that you may analyze that data during the creation of the program in question. Provide a rationale to support your suggestion. •Using the scenario from Part I of this discussion, give your opinion as to why the Java language...
Given Kotler's definition of marketing, which of the following would be considered a marketing activity?    ...
Given Kotler's definition of marketing, which of the following would be considered a marketing activity?     A.   A community pharmacy advertising in their local newspaper about their new travel immunizations and vaccines.     B.   A hospital pharmacist consulting with a physician regarding antibiotic stewardship.     C.   Asking someone special out for a first date.     D.   A & B     E.   A, B & C