Q:

Choose the correct option regarding the above statement

belongs to collection: DBMS - SQL MCQ

0

create table apartment(ownerID varchar (5), ownername varchar(25), floor numeric(4,0), primary key (ownerID));
Choose the correct option regarding the above statement


  1. The statement is syntactically wrong
  2. It creates a relation with three attributes ownerID, ownername, floor in which floor cannot be null.
  3. It creates a relation with three attributes ownerID, ownername, floor in which ownerID cannot be null.
  4. It creates a relation with three attributes ownerID, ownername, floor in which ownername must consist of at least 25 characters.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(c).It creates a relation with three attributes ownerID, ownername, floor in which ownerID cannot be null.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

DBMS - SQL MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What does the notnull integrity constraint do?... >>
<< Choose the correct command to delete an attribute ...