MySQL JOIN Multiple Tables Tutorial in Hindi / Urdu

Поділитися
Вставка
  • Опубліковано 25 лис 2019
  • In this tutorial you will learn mysql joins multiple tables tutorial in Hindi, Urdu.You can learn how to join more than 2 tables in mysql 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

КОМЕНТАРІ • 152

  • @website_make
    @website_make Рік тому +2

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

  • @kapil.suryavnsi
    @kapil.suryavnsi Рік тому

    Thanx a lot sir, this is great channel I've ever seen in UA-cam

  • @namshit
    @namshit 2 роки тому +5

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

  • @SurajSharma-fw5fg
    @SurajSharma-fw5fg 11 місяців тому

    Very beautifully explained. Thanks

  • @BasitAli-my1tp
    @BasitAli-my1tp 3 роки тому +8

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

  • @alinakhan7480
    @alinakhan7480 3 роки тому

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

  • @dev504
    @dev504 2 роки тому

    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.

  • @JokeAndTalk
    @JokeAndTalk 3 роки тому

    Thank you sir very helpful video for me

  • @looserwinner329
    @looserwinner329 3 роки тому +1

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

  • @gauravkalra6184
    @gauravkalra6184 8 місяців тому

    best video so far

  • @zeeshanhassan9260
    @zeeshanhassan9260 2 роки тому

    Sir u r great teacher

  • @bhagirathiverma2627
    @bhagirathiverma2627 11 місяців тому

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

  • @user-zn9lj2fn5o
    @user-zn9lj2fn5o 7 місяців тому

    Tnx bro

  • @bhartichaure133
    @bhartichaure133 2 роки тому

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

  • @neerajbaldwa40
    @neerajbaldwa40 4 роки тому

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

    • @YahooBaba
      @YahooBaba  4 роки тому

      I'm glad you like it :)

  • @user-zn9lj2fn5o
    @user-zn9lj2fn5o 4 дні тому

    Tnx vai

  • @Dloc47
    @Dloc47 Рік тому

    Thank you sir

  • @bindiyababu804
    @bindiyababu804 2 роки тому

    Awesome sir...

  • @user-pn3rv9qk9q
    @user-pn3rv9qk9q Місяць тому

    Sir very nice

  • @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 :)

  • @Vinaykumar-bx1ql
    @Vinaykumar-bx1ql Рік тому

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

  • @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
    ;

  • @sejalyadav2216
    @sejalyadav2216 Рік тому

    Thanks

  • @amityadav64
    @amityadav64 Рік тому

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

  • @ParthivShah
    @ParthivShah Рік тому

    thanks.

  • @saharamanson1970
    @saharamanson1970 3 роки тому

    awesome

  • @meenusrivastava8264
    @meenusrivastava8264 11 місяців тому

    Totally clear y Al topics thanks so much

    • @Zerocoment-zh6bq
      @Zerocoment-zh6bq Місяць тому

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

  • @Cat_ninj
    @Cat_ninj Рік тому

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

  • @MyGamingEra
    @MyGamingEra Рік тому

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

  • @codewithqdkhan
    @codewithqdkhan 3 роки тому

    Today is anice day for Me..Thanks Sir

  • @nareshahirwar7406
    @nareshahirwar7406 4 роки тому

    Very good Explanation 👍👌

  • @khawarmehmood1835
    @khawarmehmood1835 4 роки тому

    acha sikha rahay hai thumps up dear

  • @RAHULROY-sb9nt
    @RAHULROY-sb9nt Рік тому

    Nice and easy explanation 🎉🎉🎉🎉

  • @abdullahusedeals489
    @abdullahusedeals489 2 роки тому

    nice teach

  • @FaisalAnsari-ch4pl
    @FaisalAnsari-ch4pl Рік тому

    Wooow great explanation 👌👌👌

  • @tajulislam327
    @tajulislam327 2 роки тому

    many many thanks

  • @ramijsarkar
    @ramijsarkar 3 роки тому

    very good explanation

  • @dhruvrajsinhjadeja-vfxarti3085
    @dhruvrajsinhjadeja-vfxarti3085 4 роки тому

    Awesome sir :)

  • @zaingulbaz50
    @zaingulbaz50 2 роки тому

    Best teacher

  • @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.

  • @zeeshanhassan9260
    @zeeshanhassan9260 2 роки тому

    Love from Pakistan

  • @user-kc8sh3rr5e
    @user-kc8sh3rr5e 8 місяців тому +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  8 місяців тому

      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 8 місяців тому

      @@YahooBaba Thanks its really helps !!!

  • @runcodenow1265
    @runcodenow1265 3 роки тому

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

  • @hamza_se
    @hamza_se 2 роки тому

    ❤❤

  • @gauravjha7875
    @gauravjha7875 4 роки тому

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

    • @gauravjha7875
      @gauravjha7875 Місяць тому

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

    • @Zerocoment-zh6bq
      @Zerocoment-zh6bq Місяць тому

      @@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 22 дні тому

      @@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 22 дні тому

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

  • @hardikgodhani9361
    @hardikgodhani9361 3 роки тому +1

    make series on android studio

  • @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 UA-camr who replied to me
      Thanks Sir
      You are making quality content👍🏻

    • @YahooBaba
      @YahooBaba  3 роки тому +1

      Thanks AK for appreciating my work :)

  • @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.

  • @husi_razzaq.725
    @husi_razzaq.725 5 місяців тому

    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

  • @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

  • @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.

  • @ronakfiza9732
    @ronakfiza9732 Рік тому

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

  • @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

  • @vrundanawal106
    @vrundanawal106 3 роки тому

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

  • @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

  • @blackeaglestudio2379
    @blackeaglestudio2379 4 місяці тому

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

  • @anandrajput4764
    @anandrajput4764 2 місяці тому

    How u added courses table in this

  • @RECREATIONVDO
    @RECREATIONVDO Рік тому

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

    • @YahooBaba
      @YahooBaba  Рік тому +1

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

    • @RECREATIONVDO
      @RECREATIONVDO Рік тому

      @@YahooBaba thanks

  • @nishantruhela179
    @nishantruhela179 3 роки тому

    Sir why you not give Foreign key to courses column

  • @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.

  • @scholarj3295
    @scholarj3295 8 місяців тому

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

  • @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.

  • @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?

  • @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..

  • @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..

  • @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);

  • @faizapervaiz-ry5xp
    @faizapervaiz-ry5xp 11 місяців тому

    text editor??

  • @rituparnapanda1083
    @rituparnapanda1083 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

  • @urbanbags5505
    @urbanbags5505 4 роки тому

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

  • @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.

  • @gtmj2331
    @gtmj2331 3 роки тому

    How to see students from agra and delhi together

    • @YahooBaba
      @YahooBaba  3 роки тому

      use IN operator : ua-cam.com/video/f17Xk4ZpMuY/v-deo.html

  • @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.
      ua-cam.com/video/HAWQu5jx_8Y/v-deo.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.

  • @vinodverma-ui2ct
    @vinodverma-ui2ct Місяць тому

    Sir DBMS connection is not available error is come

    • @YahooBaba
      @YahooBaba  Місяць тому

      That means no JOIN establish between your tables.

  • @vijay_madane03
    @vijay_madane03 25 днів тому

    Sir foreign key use nahi ki he kya isme??

    • @YahooBaba
      @YahooBaba  23 дні тому

      Hanji nahi ki hai

    • @vijay_madane03
      @vijay_madane03 23 дні тому

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

  • @Nature-tj1ce
    @Nature-tj1ce 2 місяці тому

    How to make multiple Foreign Keys ?

    • @YahooBaba
      @YahooBaba  2 місяці тому +1

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

    • @Nature-tj1ce
      @Nature-tj1ce Місяць тому

      @@YahooBaba Thankyou

  • @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