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
Which data type is a composite type?
What program will open a mdb file?
Is nosql relational?
how to shut down the server with 'mysqladmin'? : Sql dba
Why stored procedure is better than query?
How to get each name only once from an employee table?
Is natural join same as inner join?
How to run pl sql program in mysql?
What is an implicit commit?
What are local and global Indexes and where they are useful.
Explain how exception handling is done in advance pl/sql?
What do you understand by pl/sql cursors?
how to use in conditions? : Sql dba
How can I make sql query run faster?
How to use distinct and count in sql query? Explain