MySQL JOIN Multiple Tables Tutorial in Hindi / Urdu

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

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

  • @website_make
    @website_make Год назад +2

    Kamal ka samjhaya....koi bhi easily samjh jayega

  • @namshit
    @namshit 2 года назад +5

    Best way to learn SQL.
    Great teaching skills thanks a lot .

  • @BasitAli-my1tp
    @BasitAli-my1tp 3 года назад +8

    Im taking help from your videos for my final year project. Thanku soo much for sharing such content

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

    Kaafi mehnat lagti aise videos banae me aur itna clear padhane me..respect sir

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

      Thanks and welcome :)

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

    wao .sir mujhay joining kabhi samujh nhi eye lkin apkay lecture kay bad sub kuch samugh may aa giya

  • @kapil.suryavnsi
    @kapil.suryavnsi Год назад

    Thanx a lot sir, this is great channel I've ever seen in RUclips

  • @user-kc8sh3rr5e
    @user-kc8sh3rr5e 10 месяцев назад +1

    is there is any posibility to set the execution time like in js we use settimeout and thanks for making this series sir !!!!

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

      Yes you can do this with the help of "EVENTS" in mysql. Read this article for that :
      stackoverflow.com/questions/38886839/how-can-i-run-a-query-in-a-specific-time-using-mysql-or-php

    • @user-kc8sh3rr5e
      @user-kc8sh3rr5e 10 месяцев назад

      @@YahooBaba Thanks its really helps !!!

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

    very nice sir.sachi bahar se course kiya to kuch ni samjhaya aise deeply.confused rehti thi. k yeh kaise krna hai tab tk toh course bhi bnde ka khtm hone ko ajata hai.mujhe lga mera hi dimag kam hai :P .sir se puchti thi apko kaise PHP agai samnjh.pr apki videos se 5 min mein itna achi trh se smjh ata hai k bnda khud krle solve fir. thankyou so much.

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

      Thanks Tanu for appreciating my work :)

  • @MW-wasif
    @MW-wasif 3 месяца назад

    Sir very nice

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

    Best course... I just continuously watching from last 3 days 😊 and soon full complete the course 😊

  • @microcodes6887
    @microcodes6887 Год назад +1

    thank you sir: this is my MySQL statement :
    SELECT courses.coursename,courses.Fee,COUNT(students.courid) FROM students INNER JOIN cities ON students.cities=cities.enrollno
    INNER JOIN courses ON students.courid=courses.courseid
    GROUP BY students.courid
    ;

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

    best video so far

  • @user-zn9lj2fn5o
    @user-zn9lj2fn5o 9 месяцев назад

    Tnx bro

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

    from today I am starting to make job portal for my practice and was confused how to join multiple tables and this helps me thanks.

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

    php print "thank you soo much, it is very helpfull.

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

    thank you sir🙃🙃😊😊😊🙂🙂🙂😇😇😇😇

  • @SurajSharma-fw5fg
    @SurajSharma-fw5fg Год назад

    Very beautifully explained. Thanks

  • @Vinaykumar-bx1ql
    @Vinaykumar-bx1ql Год назад

    Thank you so muchhhhh sir..... this means a lot to me........keep growing sir ji............🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @Sejal.Yadav_88
    @Sejal.Yadav_88 Год назад

    Thanks

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

    Totally clear y Al topics thanks so much

    • @Zerocoment-zh6bq
      @Zerocoment-zh6bq 3 месяца назад

      Zaida clearkrta ha toh shadi kr loo is sy .....
      Or sex krty wqt bee yehe smja kro.

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

    o bhai bhai bhai kya samjhaya hai yaar aapne bahut bahut shukriya

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

      Thanks and welcome :)

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

    Thankyou so much sir your video is too amazing every consept are cleared....

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

    Sir u r great teacher

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

    Thank you sir

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

    Thank you sir very helpful video for me

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

    Awesome sir...

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

    Best teacher

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

      Thanks and welcome :)

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

    acha sikha rahay hai thumps up dear

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

    Thank you sir making for such these kinds
    of videos ..

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

      I'm glad you like it :)

  • @FaisalAnsari-ch4pl
    @FaisalAnsari-ch4pl Год назад

    Wooow great explanation 👌👌👌

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

    nice teach

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

    Very good Explanation 👍👌

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

    Very nice sir . Pure youtube par apke jaise koi nahi samjhata

    • @gauravjha7875
      @gauravjha7875 3 месяца назад

      @@Zerocoment-zh6bq tune kar rakhi h kya???

    • @Zerocoment-zh6bq
      @Zerocoment-zh6bq 3 месяца назад

      @@gauravjha7875 ap ke behan sy ?
      G ap salay ho meray .....
      You don't know ... ap shadi per bee aye thy ....
      I have fucked your sister ... when we both are in mood .
      Ufff what's the feeling that your sister gives me ..... She is very good .

    • @Zerocoment-zh6bq
      @Zerocoment-zh6bq 2 месяца назад

      @@gauravjha7875 teri behan ky sath, shadi ke hue ha .....
      Uff your sister is too much beautiful... I fucked her when we both are in mood. You can't imagine that how we are satisfied. She love me... she give me satisfaction by her gorgeous body, when i am in tension. Bus yrr kia bataon rateen kitne haseen or din kitnay rooshan hoty hain us ky sath, jab woh meray or ma us ky kapray utarty hain.

    • @Zerocoment-zh6bq
      @Zerocoment-zh6bq 2 месяца назад

      @@gauravjha7875 sala ha tu mera sharam kr.....

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

    Sir ji har video ki title me video ki sr no ho sake to add kijiye 👍

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

      Hello naps, maine already video ke thumbnail pay serial number dala Hua Hai.

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

      @@YahooBaba haa sir but jab video watch karta hu tab samajme nehi ata hay is video ka sr no kaya hay fir video ko close karne ke bad thumbnail check karna padta hay

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

    awesome

  • @RAHULROY-sb9nt
    @RAHULROY-sb9nt 2 года назад

    Nice and easy explanation 🎉🎉🎉🎉

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

    very good explanation

  • @MuhammadJunaidAbbas
    @MuhammadJunaidAbbas Месяц назад

    ❤❤

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

    make series on android studio

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

    Love from Pakistan

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

    Sir ap ke OOP ke concerpts mujhe ache lage lakin ap MySQL ki jaga phpmyadmin pr videos bana the to bohat acha hota

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

      Fazal mujhe lagta hai aapko MySQL aur phpmyadmin ke bare mein pata nahi. PHPmyadmin mein MySQL ka he kaam hota hai.

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

    Thank u sir
    Sir aap video editing kese karte ho ye sav explain karne k liye ?

  • @Abhishek-iq1es
    @Abhishek-iq1es 3 года назад +1

    Nice

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

      Thanks

    • @Abhishek-iq1es
      @Abhishek-iq1es 3 года назад +1

      @@YahooBaba ohh bhai,you are the first RUclipsr who replied to me
      Thanks Sir
      You are making quality content👍🏻

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

      Thanks AK for appreciating my work :)

  • @dhruvrajsinhjadeja-vfxarti3085
    @dhruvrajsinhjadeja-vfxarti3085 4 года назад

    Awesome sir :)

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

    2:00 Sir u said humne in Cid ko save kraya h Student table me to sir save kaise kraya h ,if Inner Join se save kraya h to hum select command laga ke saare columns dekh skte hain to fir prblm kya h

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

    City table Mai cid column aur courses table Mai crid column Ka primary key Hona jaruri hai hmra tbhi hm endono tables ko student table se join Kar skte hai ?

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

      Dekhiye Primary key lagana toh jaroori hai lekin Foreign key lagana jaroori nahi hai. Primary key ek unique identity hoti hai kisi record ki.

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

    Agr city table me cid=5 me bhi city Agra huii toh student table me Agra ke liye kaunsi id jaayegii 1or5?

  • @anandrajput4764
    @anandrajput4764 5 месяцев назад

    How u added courses table in this

  • @husi_razzaq.725
    @husi_razzaq.725 7 месяцев назад

    Sir student.table doesnot exist ka error aa raha hai hala k mainay koi extra table nai banaya courses ciry aur personal k ilaawa is problem ko kesay solve kru kindly bata dain

  • @blackeaglestudio2379
    @blackeaglestudio2379 6 месяцев назад

    Sir how to insert data from one form in multiple table's.

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

    aapne personal table update kiya hai kya. Mai aapke puri series follow kar rahi hu

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

      Yes update kiya hai.

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

    how to print same but whose age is min,
    so just one row should be there whose age is 19

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

    sir personal table mai ek hi time pe city and couses kaise aa rahe. Apne 2 foreign key set ki hai kya personal table mai city and courses ke liye

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

      That is because of JOINS

  • @faizapervaiz-ry5xp
    @faizapervaiz-ry5xp Год назад

    text editor??

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

    Sir category and sub-category se
    Product add karne pe jis category ki sub-category nahi hai wo
    Data Show nahi ho raha hai join category ka use karke please help me I m developing E-commerce website.

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

      Usmein LEFT Join lagega.

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

      @@YahooBaba thank you sir try krta hon

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

    Personal table ke courses cOlumn ko Foreign key bnana padega ki nahi

    • @YahooBaba
      @YahooBaba  2 года назад +1

      Bana bhi sakte kyu ki koi compulsion nahi hai Foreign key banana. Han lekin Primary key banana jaroori hai.

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

      @@YahooBaba thanks

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

    Sir why you not give Foreign key to courses column

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

    Sir, To inner join,left and right join the two tables is it compulsory that one table should contain primary key and another foreign key?
    Without foreign key and primary key can we join the tables?

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

      Yes Primary key are must to make JOINS in two or more tables but you may leave Foreign keys because it is not necessary to make foreign key.

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

      @@YahooBaba OK Sir.. Thanks For your immediate reply...

    • @Ram-Naresh
      @Ram-Naresh 2 года назад

      @@YahooBaba Jb without foreign key kam chal jayega to hm use kyon krte hain sir??

    • @khushiagarwal106
      @khushiagarwal106 2 года назад +1

      @@Ram-Naresh kyuki hme data redundancy nhi chaiye isliye hum foreign key use krte hai and readibility shi hoti h agar Fk hoti h to🙂

    • @Ram-Naresh
      @Ram-Naresh 2 года назад

      @@khushiagarwal106 Thanks for reply but foreign key me data repeat ho sakta hai..

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

    hello sir i just finished your html and css tutorials . can you please tell me about any website to get projects related to html and css for practice only . Not any freelance marketpalce.

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

      Hello Usman I don't know any such type of website.

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

    Sir, are you going to explain oops concepts in this PHP tutorial.. please answer me

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

      Yes I will explain every topic in PHP...like Oops, Ajax, Jain, API Development.

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

    how we set a frign key without query

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

    sir ek table me 2 foreign key ko add karne ki Query alter command se

    • @YahooBaba
      @YahooBaba  2 года назад +1

      ALTER TABLE ORDERS
      ADD FOREIGN KEY (column1) REFERENCES CUSTOMER(SID),
      ADD FOREIGN KEY (column1) REFERENCES CUSTOMER(SID2);

  • @vinodverma-ui2ct
    @vinodverma-ui2ct 3 месяца назад

    Sir DBMS connection is not available error is come

    • @YahooBaba
      @YahooBaba  3 месяца назад

      That means no JOIN establish between your tables.

  • @cs-3407
    @cs-3407 4 года назад +2

    Good Day! have great achievements in life... i would like to contact you on social application> would you please?

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

    Please reply fast it's urgent...
    After doing all data hi visible nhi ho raha h I mean join ho raha h but rows create nhi ho rhe h. Maine jo 5 tables the unme data fill kiya h 3 rows h sabme but join me data q nhi aa raha h...?

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

      Iska matlab hai ki join theekh nahi lagaya hai.

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

      @@YahooBaba I used inner join..

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

    4 table add krne pr "warning truncate ur data" likh k ata hai

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

    sir suppose i want only btech student data table in that join how to write query

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

      Show me your attempt of SQL command... I will correct it if it is wrong

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

      @@YahooBaba SELECT p.id,p.name,p.per,p.age,c.cityname,cr.course_name FROM personal p INNER JOIN city c ON p.city=c.cid INNER JOIN courses cr ON p.courses=cr.course_id;
      that's my join query ,after joining three table I want show only Btech course student, where to write WHERE clause statement

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

      put WHERE clause at the end of the query.

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

      @@YahooBaba Yes its working, thank you sir.

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

    3rd table join kyasa hula osko to foren key pe nahi liya tha

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

      Foreign key leni jaroori nahi hai JOIN ke liye. Primary Key jaroori hoti hai.
      Waise mera suggestion he ki Foreign key leni chahiye hai for security reasons.

  • @vijay_madane03
    @vijay_madane03 2 месяца назад

    Sir foreign key use nahi ki he kya isme??

    • @YahooBaba
      @YahooBaba  2 месяца назад

      Hanji nahi ki hai

    • @vijay_madane03
      @vijay_madane03 2 месяца назад

      @@YahooBaba
      Bina foreign key table access hota he kya Sir?

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

    HELP!!!!!!!! PLEASE SIR....
    SIR problem ye hai ki ... hamara jo table hai i.e personal, to sir ye table 2 foreign keys ko store kar raha hai i.e cid and course_id question ye hai ki inke values ko aapne 1,2,1,2,1,,2,3 kyu likha jabki city ke table mein 5 city ke name hai...???? aur sir hame to pata nahi ki kaunsa banda kis "" cid """ se hai to hum randomly personal table k cid column mein values kyu bhar diye???
    question 2 : table mein same id ko 2 baar likh diya maine like 1,1,2,3,2 then isko update kaene mei bahot dikkat aa rahi hai.please help kariye!!

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

      Answer 1 : Dekho personal table mein cid and course_id isliye save kiye hai kyu ki personal table heavy na ho jai. Agar usmein pura city name likhenge toh wo table heavy hota jayega. Tabhi wha sirf unique id save kiya hai aur usko show karne ke liye JOINs ka use kiya hai.
      Answer 2 : Dekho table banate time mein he id column ko aapne UNIQUE set karna hai taki id duplication na ho. Aap CREATE Table aur Constraints wala video dubara dekhiye.
      ruclips.net/video/HAWQu5jx_8Y/видео.html

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

      one more help please!!@@YahooBaba Sir bas ye samajh aa raha >>> City Column ke cid mein 1,2,3,4 id hai to phir hum aise kaise Personal table ke city column mein 1,2,3,4 put kar sakte hai... ... example >> personal table ke id=1, name=ram, city=1( yaha 1 ke jagah 2 ho sakta hai, where 1= agra and 2=delhi) city table ke cid= 1 (agra), 2 (delhi), 3 (mumbai), 4 (bihar). ....mujhe nahi pata ram kaha se belong karta hai... wo kaise pata chalega?? to kya mujhe personal table ke city colimn mein city table ke cid column ke 1,2,3 dekh kar values put karna hoga personal table ke city column mein ??

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

      Dear hum MySQL database mein kuch bhi manually nahi dalte hai. Iske liye hum kisi server side language ka use karte hai jaise PHP. Hum user ko sirf city Name dikhanyenge aur jab wo FORM save karega tab database table mein "cid" save karenge.

  • @Nature-tj1ce
    @Nature-tj1ce 4 месяца назад

    How to make multiple Foreign Keys ?

    • @YahooBaba
      @YahooBaba  4 месяца назад +1

      In the same way as we create a single Foreigh key.

    • @Nature-tj1ce
      @Nature-tj1ce 3 месяца назад

      @@YahooBaba Thankyou

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

    Equi join , self join ..plz

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

      In MySQL their is no Equi Join and also their is no self join in mysql we do it with Inner Join or Left Join

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

    How to see students from agra and delhi together

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

      use IN operator : ruclips.net/video/f17Xk4ZpMuY/видео.html

  • @UjjwalSharma-fl6fv
    @UjjwalSharma-fl6fv 2 года назад

    sql ke yeah notes milege sir

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

      Get it from our website www.yahoobaba.net

    • @UjjwalSharma-fl6fv
      @UjjwalSharma-fl6fv 2 года назад

      @@YahooBaba sir isme aapki bas video hai notes nhi hai

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

    Foreign key dono table me nai ho rhai sirf city vale table me ho rahi he
    Or courses me karte he to error aarha he
    error: 150
    foreign key constraints is incorrectly formed
    How to fix this poz any one reply

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

      Paste your SQL command here...
      I will tell you the error

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

    Sir whatsapp number dijiye

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

      Whatsapp number toh main share nahi karta hun kyu ki thoda busy hota hun development ke kaam mein, lekin aap mujhe email kar sakte hain hello@yahoobaba.net

  • @user-zn9lj2fn5o
    @user-zn9lj2fn5o 2 месяца назад

    Tnx vai

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

    many many thanks

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

      You are most welcome

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

    thanks.

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

    ❤❤