adplus-dvertising
frame-decoration

Question

Create table employee (name varchar ,id integer)
What type of statement is this ?

a.

DML

b.

DDL

c.

View

d.

Integrity constraint

Answer: (b).DDL

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Create table employee (name varchar ,id integer) What type of statement is this ?

Similar Questions

Discover Related MCQs

Q. Select * from employee
What type of statement is this?

Q. The basic data type char(n) is a _____ length character string and varchar(n) is _____ length character.

Q. An attribute A of datatype varchar(20) has the value “Avi” . The attribute B of datatype char(20) has value ”Reed” .Here attribute A has ____ spaces and attribute B has ____ spaces.

Q. To remove a relation from an SQL database, we use the ______ command.

Q. Delete from r; r – relation
This command performs which of the following action ?

Q. Insert into instructor values (10211, ’Smith’, ’Biology’, 66000);
What type of statement is this ?

Q. Updates that violate __________ are disallowed.

Q.
Name

Annie

Bob

Callie

Derek

Which of these query will display the the table given above ?

Q. Select ________ dept_name
from instructor;

Here which of the following displays the unique values of the column ?

Q. The ______ clause allows us to select only those rows in the result relation of the ____ clause that satisfy a specified predicate.

Q. Select ID, name, dept name, salary * 1.1
where instructor;

The query given below will not give an error. Which one of the following has to be replaced to get the desired output?

Q. The ________ clause is used to list the attributes desired in the result of a query.

Q. Select name, course_id
from instructor, teaches

where instructor_ID= teaches_ID;

This Query can be replaced by which one of the following ?

Q. Select * from employee where salary>10000 and dept_id=101;
Which of the following fields are displayed as output?

Q. Which of the following statements contains an error?

Q. Insert into employee _____ (1002,Joey,2000);
In the given query which of the keyword has to be inserted ?

Q. SELECT * FROM employee WHERE dept_name="Comp Sci";

In the SQL given above there is an error . Identify the error .

Q. ’_ _ _ ’ matches any string of ______ three characters. ’_ _ _ %’ matches any string of at ______ three characters.

Q. In SQL the spaces at the end of the string are removed by _______ function .

Q. _____ operator is used for appending two strings.