Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1. When creating a part of a data model (such as creating a table) in a database, which category of SQL statement is used? A.

Q1. When creating a part of a data model (such as creating a table) in a database, which category of SQL statement is used?

A. DML

B. DQL

C. DDL

D. DCL

Q2. In MySQL which of the following datatypes would allow 5.98 entered for a column?

A. INT

B. FLOAT(2,2)

C. DECIMAL(2,2)

D. DECIMAL(8,2)

E. FLOAT(8,0)

Q3. A "ONE-TO-ONE" relationship (optional or mandatory) can be enforced within the database by setting the Foreign Key to have which property?

A. UNIQUE

B. NOT NULL

C. ZERO FILLED

D. NULL

Q4. Which best describes a column with the CHAR(n) datatype in MySQL

A. The column stores strings of exactly "n" characters, right padded with spaces if needed, using a constant "n" bytes of disk storage to do so.

B. The column stores strings of length less than or equal to "n" characters using a constant "n" bytes of disk storage to do so.

C. The column stores strings of length less than or equal to "n" characters using a variable number of the bytes of disk storage to do so.

D. The column stores strings of exactly "n" characters, right padded with spaces if needed, using a variable number of the bytes of disk storage to do so.

Q5. When inserting data into a database, which category of SQL statement is used

A. DML

B. DQL

C. DDL

D. DCL

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions