constraints in dbms | key, domain & referential integrity |

Поделиться
HTML-код
  • Опубликовано: 17 фев 2018
  • key, domain and referential integrity constraints with examples

Комментарии • 187

  • @youtubevideostorage3381
    @youtubevideostorage3381 3 года назад +123

    Constraints are conditions.
    Every relation has some condition that must hold for it to be a valid relation, called Relational Integrity Constraints.
    3 Types
    1. Key constraints / Entity constraint
    2. Domain constraint
    3. Referential Integrity constraint
    1. Key Constraints
    = A key is just an attribute. In a relation with a key attribute, no two tuples can have identical values in the key attribute.
    = key attribute can not have null values
    = if more than one such minimal subsets, these are called candidate keys.
    2. Domain Constraints
    = Every attribute is bound to have a specific range of values. datatypes and range must be followed.
    For. example: age attribute can not be negative or can not be an alphabet.
    3. Referential integrity constraints
    = works on the concept of foreign key
    = A foreign key is a key attribute of a relation, that can be referred to in another relation.

  • @omardavila2010
    @omardavila2010 6 лет назад +13

    Thank you! Although it was a little difficult to understand if I just stop and listen closely it all makes sense. Thank you for taking the time to make this video!

  • @020hamza2
    @020hamza2 Год назад +2

    you are great teacher because you are telling detail of each important terms so we can understand sentence easily

  • @ameyphatak8562
    @ameyphatak8562 6 лет назад +7

    Awesome explanation. Thank you so much.

  • @agcodes
    @agcodes Год назад +54

    In RDBMS,
    Table = relation
    Coloumns =Attributes
    Turples = Rows
    Data Types = Domains,
    Degree = No. of Attributes,
    Cardiality = No. of Rows (Turples) 🧁

  • @shubhammishra2336
    @shubhammishra2336 5 лет назад +1

    The way u r teaching is superbb very easy to understand....

  • @amadujalloh4700
    @amadujalloh4700 3 года назад +1

    Thanks so much sis; geez I am glad I came across this channel!

  • @laxmikumarisahu1311
    @laxmikumarisahu1311 3 года назад +11

    Clearly explained.... Thank you so much for this... I have cleared all my doubts...
    Once again thank you.. 😊☺

  • @sratnamanjari244
    @sratnamanjari244 4 года назад +2

    Thank You So Much MAM........lots of Love and Respect to you

  • @sanianausheen8208
    @sanianausheen8208 3 года назад +1

    Thank you very much mam...nice explanation 👍

  • @stressbuster9313
    @stressbuster9313 6 лет назад +11

    Thank you so much mam, you were expressing very well 😊

  • @alkakumari8900
    @alkakumari8900 4 года назад +1

    Thank you so much ma'am it is very clear now

  • @josephumba1881
    @josephumba1881 4 года назад +5

    But what about the last Constraint? you didn't explain how to find it on the table? :(

  • @saiprakash6780
    @saiprakash6780 6 лет назад +2

    Tq..... 😊
    It's a good one....

  • @Zakirhossain-sk3nz
    @Zakirhossain-sk3nz 5 лет назад +1

    Awesome lecture ,Mam

  • @lakhansajnani7981
    @lakhansajnani7981 6 лет назад +1

    Very nice explained....

  • @ikesundayasmith2861
    @ikesundayasmith2861 4 года назад

    Good work,well explained

  • @maxinteltech3321
    @maxinteltech3321 2 года назад

    Clear explanation.Thanks

  • @rahulvarma7257
    @rahulvarma7257 4 года назад +3

    You’re explanation is really awesome. keep it up 👏👏👏

  • @bochkarsanjay3821
    @bochkarsanjay3821 5 лет назад +1

    superbbbb video full useful.....

  • @imtiyazdar2664
    @imtiyazdar2664 5 лет назад +1

    thnks a lot mam..u r super

  • @ACTIVE_TOYS
    @ACTIVE_TOYS 3 года назад

    Your explanation is too good

  • @parthbuha9221
    @parthbuha9221 6 лет назад +1

    Awesome, thank you

  • @intrepid18
    @intrepid18 Год назад

    Ma'am you are a boon to us 🛐💟

  • @_SurajYadav-lr9fl
    @_SurajYadav-lr9fl 3 года назад

    thank you ma'am for making such video

  • @ShraddhanjaliGupta
    @ShraddhanjaliGupta 3 года назад

    You are fabulous mam ❤️

  • @MrTechnomantra
    @MrTechnomantra 6 лет назад +2

    Thanks, very nice video.

  • @raihankhan4374
    @raihankhan4374 3 года назад +3

    So does this mean entity constraint means that no two rows can have the same values, reason for this is that it would be impossible to tell the difference between them, thus a primary key is used to satisfy the entity constraint? This also implies means no two primary keys can be the same. is that correct? The primary key satisfies the entity (key) constraint?

  • @ashishbhatt2988
    @ashishbhatt2988 6 лет назад

    Thank you
    very nice video

  • @lionking738
    @lionking738 Год назад

    nice explanation sistaah😍😍

  • @rukkukhan8514
    @rukkukhan8514 6 лет назад

    Nice explanation mam

  • @TACO_cheera
    @TACO_cheera 5 лет назад +1

    Thank You ma'am.

  • @gunareddyysrcp
    @gunareddyysrcp 2 года назад

    Mee gold ring bagundhi mam

  • @fitnessgroupofindia4423
    @fitnessgroupofindia4423 4 года назад

    Nice mam.. you have a good skill of teaching.. I just know the where come a Default constraint in these three types.

  • @vaibhavnirbadh3280
    @vaibhavnirbadh3280 3 года назад +4

    You explained really well ma'am... :)...althoughyour accent was a bit funny :D

    • @kartikangadi394
      @kartikangadi394 3 года назад +1

      You know what's funnier? Your parents not using protection that night😩

    • @amanprajapati3417
      @amanprajapati3417 2 года назад

      @@kartikangadi394 🤣🤣🤩savage

    • @nerdy.guy_yt
      @nerdy.guy_yt 2 года назад

      Are, she is south Indian, she can't help it,

  • @Bornkill-zi2zj
    @Bornkill-zi2zj Год назад

    Love from kerala

  • @allenmujati5290
    @allenmujati5290 6 лет назад

    well explained. Thank you

  • @riteshpatel2079
    @riteshpatel2079 5 лет назад

    Well explained

  • @laxmihn6751
    @laxmihn6751 6 лет назад

    Excellent mam

  • @ShivamYadav-nf1uu
    @ShivamYadav-nf1uu 3 года назад +1

    good work

  • @bilalmohammad4242
    @bilalmohammad4242 4 года назад

    awsome :*

  • @soumyaranjanbehera
    @soumyaranjanbehera 4 года назад

    Thanks mam thnku vry much

  • @putrinadhirafauziah7866
    @putrinadhirafauziah7866 4 года назад

    thank you^^!!!

  • @ashikrabbi4300
    @ashikrabbi4300 6 лет назад +1

    not bad...but expecting more in future

  • @mdimransheikh8017
    @mdimransheikh8017 2 года назад

    Awesome thanks

  • @rsarunkumar4701
    @rsarunkumar4701 2 года назад

    your videos are excelent maam but it would be better if u placed the in order

  • @rayudumahesh3530
    @rayudumahesh3530 3 года назад

    Super mam👍🙏

  • @toronisinha840
    @toronisinha840 5 лет назад

    very nice...........

  • @amardeeptripathi6337
    @amardeeptripathi6337 5 лет назад

    What I got to know till now a foreign key is a non-key attribute

  • @jileshrollno.2487
    @jileshrollno.2487 3 года назад +1

    ur voice is similer to deepeka padukon in cheenai express

  • @BilalKhan-ln8tn
    @BilalKhan-ln8tn 6 лет назад +1

    Thanks mam, nice way of teaching

  • @psychedvibie4411
    @psychedvibie4411 Год назад

    Helpfull❤😍

  • @rodrickngonyoku5042
    @rodrickngonyoku5042 3 года назад

    This woman is Amaizing

  • @ayushchauhan4055
    @ayushchauhan4055 4 месяца назад

    yes mam in my village one old man names 71 singh in hindi eekhattar singh (int). 😅

  • @hafiztouseef6184
    @hafiztouseef6184 5 лет назад

    Good job

  • @tsubaharan
    @tsubaharan 3 года назад +1

    Great work. How to add new column with constraint? for example I want to add a new column 'Age' it will alow the values greater than 10. Please explain it .

  • @saiiprakash6724
    @saiiprakash6724 6 лет назад

    nice video

  • @samnoob7481
    @samnoob7481 8 месяцев назад

    Thank you mam

  • @hoorkhan3596
    @hoorkhan3596 6 лет назад +1

    Awsome 👌👌👌

  • @itzme8861
    @itzme8861 5 лет назад +8

    Nice ring

  • @kobiyt6760
    @kobiyt6760 4 года назад +1

    it's more helpful for my exam

  • @monikaraizada9527
    @monikaraizada9527 6 лет назад +3

    Vry nice

  • @yonaswubet4601
    @yonaswubet4601 2 года назад

    You are my choice !!

  • @tahaayaz6357
    @tahaayaz6357 3 года назад

    Nice lecture although you didn't explain about integrity constraint bu showed on what it works on... :(

  • @AdeshPaul
    @AdeshPaul 4 года назад

    Thanks dear.

    • @kartikangadi394
      @kartikangadi394 3 года назад

      Dear? Nimmaun Madam adaar avr, respect kod😤

  • @kampeswamy2888
    @kampeswamy2888 Год назад +5

    1.Integrity constraint
    ✅The row should have unique value..
    ☑️ No null values...
    2.Domain constraint
    ✅Every row should have same data type values
    ☑️ Different data types can't be accepted by single row..
    3.referentional constraint
    ✅ Foreign key depends on another relation..
    ☑️There is 2 relations

  • @subhadipdey7052
    @subhadipdey7052 5 лет назад +1

    Plz mam sow up private video which are not seen ... thanks

  • @vigneshmahesh3796
    @vigneshmahesh3796 3 года назад +1

    👏👏

  • @bharatbist8770
    @bharatbist8770 5 лет назад

    Chennai express ke depeeka padukon ki yaad aagai yr.

  • @HimanshuSingh-xg9ob
    @HimanshuSingh-xg9ob 5 лет назад

    Thanks

  • @keerthivardhanreddyailuri1205
    @keerthivardhanreddyailuri1205 2 года назад

    R19 unique and legend batch

  • @osikhan334
    @osikhan334 6 лет назад

    any video of relationships types in relation model like ternary andquaternany reltionship ? can i get a quick reply ?

    • @kartikangadi394
      @kartikangadi394 3 года назад +2

      Quick reply? What are you? Chief Minister?

    • @Acornnnn632
      @Acornnnn632 3 года назад +1

      @@kartikangadi394 maav belagavi 😂 ssup 😂

  • @osmtech6305
    @osmtech6305 5 лет назад

    thanks

  • @harshit.jindal
    @harshit.jindal 4 года назад +5

    Your understanding of domains is incorrect. It's not the individual value of an attribute, but rather the entire set of permissible values for that particular column/attribute.

    • @Farahat1234
      @Farahat1234 4 года назад

      How?

    • @SQLwithManoj
      @SQLwithManoj 3 года назад +2

      She is correct but missed talking about the main constraints like CHECK, DEFAULT & NOT NULL constraints. At 9:40 she started talking about range but just ended up telling about permissible values by DATATYPE declaration at column/attribute/field level. The AGE example given falls under CHECK constraint.

    • @kartikangadi394
      @kartikangadi394 3 года назад

      Muklya

  • @sayedabdulrahiman5655
    @sayedabdulrahiman5655 4 года назад

    Supper explanation but in this not clear about referential integrity

  • @preethamm.n1161
    @preethamm.n1161 4 года назад

    💞💞Awesome 🌹🇮🇳🇮🇳🇮🇳💞💞

  • @Acornnnn632
    @Acornnnn632 3 года назад +2

    Lmfao maav belagavi 😂

  • @bejugamruchitha8362
    @bejugamruchitha8362 3 года назад

    What about further topics mam?

  • @kranthim9783
    @kranthim9783 5 лет назад

    thanx

  • @bhanuteja_04
    @bhanuteja_04 2 года назад

    My name is bhanu mam😁

  • @aashutoshchhedavi
    @aashutoshchhedavi 3 года назад +2

    a) Given a relation R(ABCDEFGH) with the following functional dependency
    A->B,
    F->G,
    CD->E
    B->A,
    A->FGCD
    H->A
    Find the candidate key, minimal cover for the relation R. State the Normal form of the
    relation. Normalize it in 3NF and BCNF

  • @maheshwarivachan287
    @maheshwarivachan287 4 года назад

    what is the difference between key attribute and primary key?

    • @vumpmusic
      @vumpmusic 4 года назад

      They are the same

  • @frolajackobo3464
    @frolajackobo3464 3 года назад

    🙏🙏🙏🙏

  • @learnerg2662
    @learnerg2662 4 года назад

    💖💖💖💖💖💖💖💖💖

  • @gandichiranjeevi9999
    @gandichiranjeevi9999 4 года назад

    💯💖💖💖💖💖💖💖

  • @kishanverma1252
    @kishanverma1252 4 года назад +1

    I want all notes of Dbms,DA,computergrapics, conputer networks II

  • @praveenchandran3622
    @praveenchandran3622 3 года назад

    why we are saying a table as relation ?

  • @shantanurauthan9318
    @shantanurauthan9318 5 лет назад +28

    You didn't explained referential integrity well

  • @rakeshprajapati9587
    @rakeshprajapati9587 5 лет назад

    TUTORIALS POINT

  • @ashwiniabhishek1504
    @ashwiniabhishek1504 5 лет назад +1

    Not one attribute, a set of attributes

  • @kumaridodda9832
    @kumaridodda9832 Год назад

    Can we have notes like pdf of ur explained mam

  • @sourabhvishwakarma1
    @sourabhvishwakarma1 2 года назад

    what about name of Mr. Elon Musk's son in name in domain constrains.

  • @bhanutyagi8636
    @bhanutyagi8636 2 года назад

    My name is also bhanu🤣🤣🤣

  • @divyakavya3309
    @divyakavya3309 4 года назад

    Mam views concepts

  • @user-cm9qb4xy7c
    @user-cm9qb4xy7c 6 лет назад +1

    thank maam

  • @divyachilakala6619
    @divyachilakala6619 3 года назад

    Why u skip assertions topic mam. I need assertions topic mam!...

  • @bikrambhai---yt.9016
    @bikrambhai---yt.9016 4 месяца назад +1

    2024 me

  • @csengineer8819
    @csengineer8819 9 месяцев назад +1

    🧁

  • @BanarasiChannel
    @BanarasiChannel 4 года назад +2

    Ma'am DBMS ka pura lecture ka link bhejiye plz

  • @rohitvishal8927
    @rohitvishal8927 10 месяцев назад

    But 0 is not null