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 do you mean by stored procedures? How do we use it?
Define the select into statement.
How to write pl sql program in mysql command prompt?
what are the differences among rownum, rank and dense_rank? : Sql dba
What is the difference between a query and a report?
Why is %isopen always false for an implicit cursor?
What is the use of sqldataadapter?
what is a materialized view? : Sql dba
Explain the difference between rename and alias?
Why we use cross join?
Can a table have no primary key?
Explain table and field in sql?
What is a file delimiter?
What are records give examples?
What is the advantage of index in sql?