how do you restrict number of rows for a particular value
in a column.For example:there is a table called
fruits,having apples,bananas ,papayas.I dont want to have
more than 100 apples in that table ,so how can u restrict
number of rows for apple to hundred?
Answer Posted / xyz
aLTER TABLE emp ADD CONSTRAINT C3 CHECK (EMPNO < 300)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is pl sql block in dbms?
What is foreign key in sql with example?
what are myisam tables? : Sql dba
What is a sql driver?
What is nvl?
What is on delete restrict?
What are the different schemas objects that can be created using pl/sql?
Explain how exception handling is done in advance pl/sql?
What is the use of prepared statement?
How does an execution block start and end in pl sql?
Why select is used in sql?
How to revise and re-run the last sql command?
Can you have a foreign key without a primary key?
Is sql low level language?
Can a table contain multiple primary key’s?