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
Is sql a backend language?
What can you do with pl sql?
What are different types of sql?
what is msql? : Sql dba
What is trigger explain with example?
How do you remove duplicate records from a table?
What is the current version of postgresql?
What is the life of an sql statement?
How can you view the errors encountered in a trigger?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
What are the uses of merge?
When is the update_statistics command used?
What is sql basics?
Can I create table without primary key?
Is left join inner or outer?