adplus-dvertising
frame-decoration

Question

The number of attributes in the following SQL table is ______________
 CREATE TABLE employee (
  emp_name CHAR(30),
  emp_id INT
 );

a.

1

b.

2

c.

3

d.

30

Posted under MySQL Database

Answer: (b).2

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The number of attributes in the following SQL table is ______________

Similar Questions

Discover Related MCQs

Q. To see the table structure which command is issued?

Q. Which character is illegal in naming an unquoted identifier in SQL?

Q. Which statement is valid if ‘`sampledb`’ is a database and ‘`tbl`’ is a table in it?

Q. The default case sensitivity of the database and table names depends on ___________

Q. To how many of the following does the prepared-statement API apply to?

CREATE TABLE, DELETE, DO, INSERT

Q. The binary protocol does not support all statements.

Q. The binary protocol is more difficult to use.

Q. The maximum collations a character set can have is ______________

Q. A synonym for CHARACTER SET is ______________

Q. The statement used to select a default database is ______________

Q. The statement that makes changes to the global attributes of the database is ______________

Q. The statement used to remove indexes on tables is ______________

Q. The statement used to change the table name is __________

Q. What is the general term for information about databases and the objects in MySQL?

Q. Perl scripts are text files.

Q. The shebang line is ______________

Q. The Perl DBI is ______________

Q. The default path to perl in Unix is ______________

Q. Which is the join in which all the rows from the right table appear in the output irrespective of the content of the other table?

Q. What is the facility that allows nesting one select statement into another?