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
Explain exception handling in pl/sql?
What are inner and outer joins examples of both?
What is pls integer?
Is left join and outer join same?
which tcp/ip port does sql server run on? : Sql dba
What is the execution plan in sql?
What is trigger types of trigger?
Are pl sql variables case sensitive?
Is sql open source?
What plvcmt and plvrb does in pl/sql?
What is t sql used for?
What is the difference between sum and count in sql?
What are the possible values that can be stored in a boolean data field?
What is nvarchar in sql?
How would you pass hints to the sql processor?