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 / gk
We can use Check constraint to restict the values of any
column.
| Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
What are the different types of a subquery?
How do I run a program in pl sql?
What is sql scripting?
What is a left join?
How does rowid help in running a query faster?
how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba
How do you declare a constant?
Is sql a case sensitive language?
What is the default isolation level in sql server? : Transact sql
Is primary key always clustered index?
What is sqlcontext?
How to use boolean type in select statement?
What type of join is sql join?
What is the basic form of sql query?
How to write pl sql program in mysql command prompt?