Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain exception handling in pl/sql?

1080


What are inner and outer joins examples of both?

1009


What is pls integer?

1089


Is left join and outer join same?

1114


which tcp/ip port does sql server run on? : Sql dba

1078


What is the execution plan in sql?

1070


What is trigger types of trigger?

1139


Are pl sql variables case sensitive?

1091


Is sql open source?

1022


What plvcmt and plvrb does in pl/sql?

1363


What is t sql used for?

1057


What is the difference between sum and count in sql?

1033


What are the possible values that can be stored in a boolean data field?

1040


What is nvarchar in sql?

978


How would you pass hints to the sql processor?

1037