MySQL PRIMARY KEY & FOREIGN KEY Tutorial in Hindi / Urdu

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • In this tutorial you will learn mysql primary key and foreign key tutorial in Hindi, Urdu.You can learn how to use mysql contraints primary key and foreign key on tables columns.You will also know what is difference between primary key and foreign key in hindi.
    PHP Tutorial in Hindi Playlist
    • ✅ PHP Tutorial in Hind...
    MySQL Tutorial in Hindi / Urdu Playlist
    • 🥇 MySQL Tutorial for B...
    Official Website
    www.yahoobaba.net/
    Follow us on Facebook
    / yahooobaba
    Follow us on Twitter
    / yahooobaba
    #mysql #webdevelopment #php

ความคิดเห็น • 315

  • @ThisAmit
    @ThisAmit 3 ปีที่แล้ว +24

    You are remarkably talented in how to teach step by step.
    Proper visualization.
    I'll say perfect.

  • @amitdandagavhal7730
    @amitdandagavhal7730 3 ปีที่แล้ว +14

    perfect explanation, im a non IT guy but understand it very easily ...worth to watch this series.

  • @codingbyyash1948
    @codingbyyash1948 3 ปีที่แล้ว +29

    Never seen such a excellent explanation.........

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว +5

      Thanks for appreciating my work :)

    • @khatariinsaan5284
      @khatariinsaan5284 3 ปีที่แล้ว

      Yes u are absolutely Right !!

    • @guscolt2057
      @guscolt2057 3 ปีที่แล้ว

      I know it is quite randomly asking but do anyone know of a good website to watch new series online ?

    • @ROHIT-sk3ox
      @ROHIT-sk3ox 2 ปีที่แล้ว +1

      @@guscolt2057 alt Balaji

    • @CS_HimanshuVishwakarma
      @CS_HimanshuVishwakarma ปีที่แล้ว

      Acchha samajh Gaya bhai ko bahot shi

  • @poojaghodke4552
    @poojaghodke4552 3 ปีที่แล้ว +8

    Thanks for the great videos as the content is very understandable, accurate and concise way
    quick to brash up the concepts

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว +5

      Glad you like them!

  • @arijitbhakta9705
    @arijitbhakta9705 ปีที่แล้ว +1

    One of the best YT channel to learn programming

  • @santoshtmustudent3905
    @santoshtmustudent3905 3 ปีที่แล้ว +3

    I will never forget this explanation
    Your teaching skills are soooooooooooooooo goooooood sir
    Thank you 🙏

  • @LaxmikantBhumkar
    @LaxmikantBhumkar 2 ปีที่แล้ว +2

    Easiest way to learn _primary-foreign_ key. Thanks sir👍

  • @mhammadshehrozkhantariq4936
    @mhammadshehrozkhantariq4936 2 ปีที่แล้ว +1

    zaberdast sir mind blowing super bhot acha samjhaya hai ap nay

  • @divyanshubse
    @divyanshubse 6 หลายเดือนก่อน

    Nice explanation by yahoo baba full return of time.
    In college teacher takes fees and waste more time of students.
    You are great yahoo baba❤❤

    • @YahooBaba
      @YahooBaba  6 หลายเดือนก่อน

      Thanks a lot

  • @riyabhargava8544
    @riyabhargava8544 3 ปีที่แล้ว +5

    i am following your whole tutorial playlist for sql . it is really nice

  • @allaboutit-4023
    @allaboutit-4023 2 ปีที่แล้ว +1

    Your explanation is osm... Tysm🥰

  • @rahul2gautam
    @rahul2gautam 4 หลายเดือนก่อน

    I watched many videos, but was not clear, but you have explained it very well just like my ORACLE Teacher when i was in Collage, Thanks

    • @YahooBaba
      @YahooBaba  4 หลายเดือนก่อน

      Glad it was helpful!

  • @joydeepbhattacharjee5305
    @joydeepbhattacharjee5305 3 ปีที่แล้ว +3

    lovely explanation...to the point video... respect ++

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว +2

      Glad you liked it

  • @RandomlyWisdom
    @RandomlyWisdom 3 ปีที่แล้ว +1

    Your pitch of voice is very pleasant to hear. Explained Perfectly for beginners.

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว +1

      Thanks for appreciating my work :)

    • @MohdIrshad-ko6bd
      @MohdIrshad-ko6bd ปีที่แล้ว

      Dono tables create krke img send kro kar do sir plzz glt ho raha hai

  • @ramanrajputindian5974
    @ramanrajputindian5974 2 ปีที่แล้ว +1

    It's A very Good explanation for me ... ❣️ And i Can't stop my fingers to Subscribe You ❣️❣️❣️

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว +1

      Thanks and welcome :)

  • @aishwaryapatil7897
    @aishwaryapatil7897 ปีที่แล้ว +1

    GREAT sir ji👏🏻👏🏻🙏🏻😁

  • @accoustic_junction
    @accoustic_junction 2 ปีที่แล้ว +1

    You came as blessing sir.... Thanku so much sir❤

  • @abdeali1301
    @abdeali1301 2 ปีที่แล้ว +1

    if you Add Lecture Number in video title it will be more helpful and easy to search. thankyou

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว

      I already placed Video Number in the Lower Left Corner of video thumbnail.

  • @yt.kiran12
    @yt.kiran12 2 ปีที่แล้ว +3

    no one can teach better than this.. 🧡

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว +1

      Thanks for appreciating my work :)

  • @timetraveler3901
    @timetraveler3901 4 ปีที่แล้ว +2

    brilliant teaching sir.....💕

  • @meenu9981
    @meenu9981 2 ปีที่แล้ว

    Bohot hi mahol padhate ho sir ji aap.. 1st time apki video dekhi.. n I m ur fan... Bohot easy Way se sikhate ho..

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว

      Thanks for appreciating my work :)

  • @Dark07knight
    @Dark07knight 2 ปีที่แล้ว +1

    Sir I am b.com final year student ... And now my computer professor is teaching us SQL but it's a old version by looking at your videos syntax are different... Please help me with old version sir.

  • @mueezwani8629
    @mueezwani8629 4 หลายเดือนก่อน

    perfect example sir....... thankyou sirr...

  • @ragnershadat6608
    @ragnershadat6608 ปีที่แล้ว +1

    Sir I am getting this error
    Error code:3780. Reference column 'city' and referenced column 'cid' in foreign key constraint ' personal_ibfk' incompatible.
    Please reply

    • @harshdeepsingh759
      @harshdeepsingh759 หลายเดือนก่อน

      in student table city should be in INT that is cid and city both should have same length asa wll as same datatype.

  • @MaheshPatil-of1zy
    @MaheshPatil-of1zy ปีที่แล้ว +1

    at 6:15 the name of column City in Student Table should be Cid which is primary key in City Table and foreign key in Student Table. Name must remain same should not changed.

  • @mdsarfarazalam8432
    @mdsarfarazalam8432 3 หลายเดือนก่อน

    Hello sir store procedure pr video laye aap bahut achchhe se padhate hai

  • @mohitranjan1719
    @mohitranjan1719 4 ปีที่แล้ว +2

    Sir g ERP SAFTWERE BNANE ME PHP KE SATH - SATH OR KON SA COURSE KI NEED HAI

  • @godbhaigod
    @godbhaigod ปีที่แล้ว +2

    There can be set of columns that can be primary key also 👍

  • @kirankaur3548
    @kirankaur3548 2 ปีที่แล้ว

    Bhut vadia treke nl clear kita sir g thanks 👍🙏

  • @Jatinder_Kaur1176
    @Jatinder_Kaur1176 4 ปีที่แล้ว

    sir ajkl jo companies websites bna ri hai. all devices perfect hoti hai. but bootstrap se nahi hoti ya custom media quries se kro toh bhi kami reh jati hai toh pls yeh zroor bnaiye alag se video. your all videos are nice. thanx this hardwork for us.

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      Yes sure main jald hi es topic par video banaunga.

  • @looserwinner329
    @looserwinner329 3 ปีที่แล้ว

    Great time I am having with this course to so much sir

  • @waqarwaqar487
    @waqarwaqar487 3 ปีที่แล้ว +1

    hello sir , i have questions k foreign key to point krta he dosrey table k column ko jo k apne banaya CITYNAME k name se to CITY kese foreign key bana ? 2nd yeh k apne is tutorial main personal table k column city ki values to khud insert karwayen hain .. is ko khud pick nae hojana that city table se ?

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว

      1) Dekho ek table ki PRIMARY KEY point karti hai doosre table ki FOREIGN KEY KO, tabhi dono table join hote hai.
      2) Dekho koi bhi value apne aap insert nahi hogi kisi table mein. Yha toh basically hum khud insert kar rahe hai leking jab MySQL ko kisi langauge ke sath use karenge jaise PHP toh wha se ek aisa system banayenge ki value khud insert ho jaye.

  • @bilalhassankhan221
    @bilalhassankhan221 2 ปีที่แล้ว

    Excellent way of teaching..

  • @ananyaputatunda8108
    @ananyaputatunda8108 3 ปีที่แล้ว

    The whole tutorial video playlist is the savior for me . Thank you so much for such detail explanation

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว +1

      Glad it was helpful!

  • @kaifhussainshaikh7312
    @kaifhussainshaikh7312 2 ปีที่แล้ว

    your teaching skill are best

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว +1

      Thanks a lot

  • @SUNILSINGH-d2i7w
    @SUNILSINGH-d2i7w 3 หลายเดือนก่อน

    yar aapki voice my god kitni mst h jaise delhi metro me bolte h

  • @varunjain3756
    @varunjain3756 3 ปีที่แล้ว

    Very well explained mysql Primary Key and Foreign key

  • @someshsahu4638
    @someshsahu4638 ปีที่แล้ว +1

    nice video thankyou

  • @vijay_madane03
    @vijay_madane03 4 หลายเดือนก่อน

    Sir personal table me insert row me last ka 1 liya he wo kiske base me liya he . Please reply.

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv 4 ปีที่แล้ว +1

    Sir jaldi upload kro...please make as soon as possible

  • @Ababeel-h9i
    @Ababeel-h9i 20 วันที่ผ่านมา

    Brilliant sir...

  • @tapandas9622
    @tapandas9622 4 ปีที่แล้ว +2

    Please make a project using php mysql javascript & ajax.

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว +2

      MySQL course ke bad project Shuru Hone wala PHP with MySQL

    • @tapandas9622
      @tapandas9622 4 ปีที่แล้ว

      @@YahooBaba OK

  • @devgajjar7526
    @devgajjar7526 2 ปีที่แล้ว +1

    Excellent explanation sir

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว

      Thanks for liking

  • @learn_to_code_with_sajal
    @learn_to_code_with_sajal 2 ปีที่แล้ว +1

    Sir I'm getting this error :
    Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(id), FOREIGN KEY (city) REFERENCE City (cid) )' at line 8

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว

      May be datatype of PRIMARY KEY and FOREIGN KEY is not same.

    • @nehasingh-uz5ou
      @nehasingh-uz5ou 2 ปีที่แล้ว

      Same error

  • @samayjain6695
    @samayjain6695 ปีที่แล้ว

    sir you are such a greate techer
    itna aacha syd hi koi pada apaya

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว

      Thanks for appreciating my work :)

  • @RaheelRashid-w1m
    @RaheelRashid-w1m 4 หลายเดือนก่อน +1

    SIR MA JAB TABLE KI SETTING PRE CLICK KRTA HO WASY HI MERA MYSQL OFF HO JATA HA

  • @bhagirathiverma2627
    @bhagirathiverma2627 ปีที่แล้ว

    Thanks a lot sir😇😇😇🙂🙂🙂🙃🙃🙃🙃😊😊😊😊😋😋😋😋

  • @sakshampathania9897
    @sakshampathania9897 2 ปีที่แล้ว

    THANKS SIR FOR THIS VIDEO IT REALLY WORK

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว

      Your most Welcome :)

  • @bhushansapkal8310
    @bhushansapkal8310 2 ปีที่แล้ว +2

    Sir altering the table is complicated since the data type of my city column in personal is Varchar and then making it a foreign key requires to change it's data type later it has messed up my table.

  • @Ravin2313
    @Ravin2313 ปีที่แล้ว

    thank you for this useful videos

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว

      You are welcome

  • @rohanaggarwal12
    @rohanaggarwal12 ปีที่แล้ว

    Sir why you have taken city data type in personal table as INT ?
    FOREIGN KEY SHOULD HAVE SAME data type as primary key of another table?

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว

      Because in another table "city" their is a column name "cid" whose data type is INT and that is also a PRIMARY KEY of "city" table.

  • @Akshay_1008
    @Akshay_1008 ปีที่แล้ว

    very good explanation 🎊🥰

  • @atishayharsola496
    @atishayharsola496 3 ปีที่แล้ว

    sir foreign key aur primay key ka naam same hona chahiye na parent table ki primary key hi to child table ki foreign key hogi par yahan to aapne primary key CID ko banaya hai aur foreign key city leliya please explain

  • @Excelwithajit8145
    @Excelwithajit8145 ปีที่แล้ว

    Very nice sir

  • @gurejalectures
    @gurejalectures 3 ปีที่แล้ว

    Student table main city column main cid ki value dynamically kesy save krwaty han

    • @WPANDSEOTUTORIALS
      @WPANDSEOTUTORIALS 3 ปีที่แล้ว

      Yes, i also want to know Yahoo Baba sir ????

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว +1

      Woh hum nahi karate hai wo toh khud generate hoti hai agar aapne table banate time cid ko AUTO_INCREMENT set kiye hoga toh.

    • @gurejalectures
      @gurejalectures 3 ปีที่แล้ว

      @@YahooBaba ni sir main php ki baat kr raha hon. Us main aisa agar aik table main user ka data ho or second main koi comment ya post etc... to hum phir ye command kesy likhain gy k jo user waly data main id 4 ha us ny ye comment kia ha jo second table main save ha ...... to user waly id sy kesy pata chaly ga k kis user ny kon sa comment kia ha... main dating website py kam kr raha hon

  • @SandipanSarkar-c8v
    @SandipanSarkar-c8v 4 หลายเดือนก่อน

    Finished watching

  • @vikaspatel1521
    @vikaspatel1521 3 ปีที่แล้ว

    The insert statement conflicated with the foreign key the conflict occured in database table column

  • @shahzaibidreesahmed4827
    @shahzaibidreesahmed4827 10 หลายเดือนก่อน

    Great

  • @user-qy3vy7fi2f
    @user-qy3vy7fi2f 10 หลายเดือนก่อน

    1196 error showing whenever using rollback
    it said non-transactional tables can't be rolled back

  • @shrutikushawah6360
    @shrutikushawah6360 2 ปีที่แล้ว

    Thank you sir

  • @mdsir7520
    @mdsir7520 3 ปีที่แล้ว

    thanks for every single video❤️❤️❤️🧗‍♂️

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว +1

      Your welcome :)

  • @AshuKumar-kw8bi
    @AshuKumar-kw8bi 5 หลายเดือนก่อน +1

    bhai maine 2 table banaya hua hai dono me primary key dala hua hai ab mai dono ko alter wale se foreign key banana chahta hu .bhai help kr de yar ho hi nhi raha hai

    • @A_Good_Boy.
      @A_Good_Boy. 5 หลายเดือนก่อน +2

      mera bhee nahi hotha for some reason

  • @raghavendrakanoongo2331
    @raghavendrakanoongo2331 3 ปีที่แล้ว

    sir data type same reta h dono ka shuru m varchar and int bata rahe ho and baad m int int bata race ho.

  • @ripunjoysahariah9634
    @ripunjoysahariah9634 4 ปีที่แล้ว

    Hi sir , If Primary key= Unique + Not Null , then there is no need to give NOT NULL as a constraint in ID column ....right ? replay Sir

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว +1

      Yes your thought is right but we can only make Primary key to any column if it is NOT NULL.

    • @AshishYadav-wc9ux
      @AshishYadav-wc9ux 2 ปีที่แล้ว

      @@YahooBaba ok

  • @manasdas9461
    @manasdas9461 2 ปีที่แล้ว

    Iske baad ak normal ER diagram iske upr bana k relation samaja k video banna chahiye tha

  • @dhruvrajsinhjadeja-vfxarti3085
    @dhruvrajsinhjadeja-vfxarti3085 4 ปีที่แล้ว +1

    1) sir yahi chees workbench ki jagah phpmyadmin pe banake dikhaona please usme dikat ho rahi hai
    2) sir workbench software me alter table command try kiya pr nahi ho raha hi

  • @RanjanJoshi1952
    @RanjanJoshi1952 4 ปีที่แล้ว +1

    Sir, foreign key command kam nahi kar raha hai, kya karu.

  • @ricky007
    @ricky007 4 ปีที่แล้ว +1

    SIR yeh code run nahi ho raha hai sir usme error a raha hai

  • @gauravmishra5523
    @gauravmishra5523 ปีที่แล้ว

    Please make a video on powerbi

  • @CS_HimanshuVishwakarma
    @CS_HimanshuVishwakarma ปีที่แล้ว

    I think these people are more intelligent than me

  • @theroshan1697
    @theroshan1697 9 หลายเดือนก่อน

    I am unable to create table which includes primary and foreign key....everything is OK.. but still it is showing error like foreign key incorrectly formed..

    • @YahooBaba
      @YahooBaba  9 หลายเดือนก่อน

      Its mean that your foreign key is not correctly connect with Primary key of another table.

  • @manangrai
    @manangrai 2 ปีที่แล้ว

    MySQL optimization ka video bhi bna lijiye sir

  • @Muhammad_Naeem662
    @Muhammad_Naeem662 ปีที่แล้ว

    Sir, I'm working on a project integration with PHP via localhost (form submission/ form updation) my "submission form" step is complete but I've stucked in form updation integration with PHP,,,,, Please help me out.

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว

      Please follow this Playlist :
      th-cam.com/play/PL0b6OzIxLPbzXPdt9pKeQXm6NoPA9MdKW.html

    • @Muhammad_Naeem662
      @Muhammad_Naeem662 ปีที่แล้ว

      @@YahooBaba Thank you so much! I have no words to thank you for helping me out. I will explore your PHP MySQL playlist after completing my MySQL playlist...... I have watched full playlist of PHP before, Recently I'm learning MySQl. By the way, Thanks a lot! Love from Pakistan...

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว +1

      @@Muhammad_Naeem662 Your most welcome :)

  • @sitaramrathi7483
    @sitaramrathi7483 2 ปีที่แล้ว

    अध्यापकजी नमस्कार इस टेबल का पारिवारिक रिश्तो पर विडियो बनाकर बताये जिसमें पुत्र, पुत्री, माता, पिता,दादा, दादी, काका, काकी, बाबा, बडिया, भुवा, फुंफा, इसके अलावा नाना, नानी, मामा, मामी, मासा, मासी के साथ साथ गाँव का नाम, जाति का नाम, भी हो
    देखने का तरीका दायें से बांये 1आई डी नम्बर, 2 गांव का नाम, 3 जाति 4 नाम 5 सम्बन्ध (स्वयं, पत्नी या पति, पुत्र, पुत्री ) 6 नाना का नाम जो ओटोमेटिक बनेगा

  • @kunalkale4701
    @kunalkale4701 3 ปีที่แล้ว

    Thanks a lot

  • @umerimran3833
    @umerimran3833 2 ปีที่แล้ว +1

    Can you please share the whole presentation file, it will be helpful for your students. Thank you!

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว

      You can get it from our website : www.yahoobaba.net

    • @umerimran3833
      @umerimran3833 2 ปีที่แล้ว

      @@YahooBaba thank you sir ❤️

  • @forexspectrum4799
    @forexspectrum4799 2 ปีที่แล้ว

    Awesome sir 👍😎

  • @akansha348
    @akansha348 ปีที่แล้ว

    Sir im having one problem… can u plz tell me that where we can use CHAR instead of VARCHAR ?

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว +1

      We use CHAR where we only want to store 1 character. For example if their is "Gender" column then we only store "m" or "f" means "m" for male and "f" for female.

  • @sandipsandal
    @sandipsandal 4 ปีที่แล้ว

    is this necessary to name of both column be same like u_name = b_rented_user => should it be u_name

  • @Shivam_K8468
    @Shivam_K8468 3 ปีที่แล้ว

    bhut achha bhut khoob

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว

      Thanks and welcome :)

  • @Sans_K5
    @Sans_K5 2 ปีที่แล้ว

    thanks_Sir💜

  • @faisalmalik4988
    @faisalmalik4988 4 ปีที่แล้ว

    sir thankyou and!
    sir hum id ko primary na set kare tw bhi kaam chal sakta hana q.k iska koi khas kaam tw nhi hai ?

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      Nahi bina Id ko primary set karne se kaam temporary hoga kyu ki duplicacy aa jayegi aur Kisi ek column ko primary key set karna zaroori hai agar aap baad mein joins bhi karna chahte ho

  • @AbdulBariEkshaikh
    @AbdulBariEkshaikh ปีที่แล้ว

    Make video on postgresql

  • @hindivaleengineer9843
    @hindivaleengineer9843 8 หลายเดือนก่อน

    error 3780 _ foreign key column data type =references key column k data type, same hona chahiye

  • @Thecryptoman9
    @Thecryptoman9 2 หลายเดือนก่อน

    Primary key 2 column ke combination se bhi to ban sakti hai

    • @YahooBaba
      @YahooBaba  2 หลายเดือนก่อน

      Aila...kaise ?

  • @ammarsahil8585
    @ammarsahil8585 ปีที่แล้ว

    Hello sir id auto_incrwament doesn't support in MySQL workbench

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว

      Because your increment spelling are wrong.

  • @Rahul-tf6vx
    @Rahul-tf6vx 2 ปีที่แล้ว

    Make one more video on primary and foreign key

  • @Thecryptoman9
    @Thecryptoman9 หลายเดือนก่อน

    CREATE TABLE parent_table (
    field1 INT,
    field2 INT,
    other_field VARCHAR(100),
    PRIMARY KEY (field1, field2)
    );
    CREATE TABLE child_table (
    field1 INT,
    field2 INT,
    additional_field VARCHAR(100),
    PRIMARY KEY (field1, field2),
    FOREIGN KEY (field1, field2) REFERENCES parent_table(field1, field2)
    );

    • @YahooBaba
      @YahooBaba  หลายเดือนก่อน

      That is totally wrong. You can't make 2 or more PRIMARY Key in one Table.

  • @sandeepkumar-web
    @sandeepkumar-web 4 ปีที่แล้ว

    Great brother nice job

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      Thank you so much 😀

  • @nilanjankarmakar-h3t
    @nilanjankarmakar-h3t ปีที่แล้ว

    Sir, i am getting the error ----16:20:40 CREATE TABLE STUDENT2 ( ID INT NOT NULL AUTO_INCREMENT, NAME VARCHAR(50) NOT NULL, AGE INT NOT NULL, CITY VARCHAR(50) NOT NULL, PRIMARY KEY (ID), FOREIGN KEY (CITY) REFERENCES CITY (cid) ) Error Code: 3780. Referencing column 'CITY' and referenced column 'cid' in foreign key constraint 'student2_ibfk_1' are incompatible.
    Could you please help?

  • @ashvanishukla941
    @ashvanishukla941 2 ปีที่แล้ว

    Sir python par video banyi plzz hindi ma

  • @AMITKUMAR-pz2xh
    @AMITKUMAR-pz2xh 2 ปีที่แล้ว

    Excellent

  • @mnmelodious9411
    @mnmelodious9411 หลายเดือนก่อน +1

    Any one nowadays ❤

  • @safiawali78
    @safiawali78 ปีที่แล้ว

    Good

  • @iamms351
    @iamms351 3 ปีที่แล้ว

    Writing same code but i got an error "cannot add or update a child row"
    Please help sir

  • @sanjayparmar3824
    @sanjayparmar3824 3 ปีที่แล้ว

    Thanks for

  • @TheWorldCricketSports.
    @TheWorldCricketSports. 3 ปีที่แล้ว

    good job

  • @muhammadumar4659
    @muhammadumar4659 4 ปีที่แล้ว

    kia hum (Primary Key) ID k agay nahi likh saktay like (id int not null auto_increment primary key)?

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว +1

      MySQL mein nahi likh sakte. Aisa hum Oracle mein likh sakte hai.

    • @shahzadiqbal4100
      @shahzadiqbal4100 4 ปีที่แล้ว +1

      @@YahooBaba sir , koi mini projects ki site recomend kro

  • @sandeepkumar-web
    @sandeepkumar-web 4 ปีที่แล้ว

    Yii2 framework ke videos bnaoo bhai TH-cam uski videos hai hi nhi hindi me

  • @anishsoni708
    @anishsoni708 3 ปีที่แล้ว +1

    Sir I am getting error in foreign key

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว

      What is the error ?

    • @631singh
      @631singh 3 ปีที่แล้ว

      @@YahooBaba foreign key constraint is incorectly formed