Amazing Real Time SQL Project | Start to End Analysis | SQL Tutorial for Beginners | SQL 2024

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

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

  • @pushkarthorat007
    @pushkarthorat007 4 месяца назад +15

    This type of video is what we exactly need.
    Please keep making such videos. Thank you!

  • @harshkaushik4634
    @harshkaushik4634 4 месяца назад +5

    i am learinng DA skills, and this elections project is one i had in my mind that after learning all necessary skills, i will make a project on elections result but i didn't get data on govt_data portal and on kaggle as well or maybe i am too noob to find it. But now seeing this project its like dream come true. I honestly thank and with whole heart appriciate you who are giving the weak people a chance to learn these skills and earn bread. I really appricate your effort and hardwork. I am finding difficulty in cleaning the data.

  • @rahulkumarkatari3044
    @rahulkumarkatari3044 10 дней назад +1

    The Project is very Awesome and its my first my SQL Project

  • @Rohit.07rd
    @Rohit.07rd 4 месяца назад +5

    Thanks for this sql project it really helped me a lot im understanding the concepts properly

  • @pavanr6100
    @pavanr6100 4 месяца назад +2

    Absolutely Loved it Sir, now my confidence is at the peak to gear up for any SQL interviews.
    kindly replicate the same and showcase your charisma of analysis via power bi
    🙏🙏🙏🙏

  • @karthikbala8474
    @karthikbala8474 4 месяца назад +12

    Please do powerbi project on election dashboard also

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

    Hi, fixed. great video. Honestly your tutorials are the best

  • @karma1185
    @karma1185 3 месяца назад +1

    Im trying to learn Data Analytics and i can say i started at right place. Thanks

  • @ShaikhAlyna-fw3op
    @ShaikhAlyna-fw3op Месяц назад

    I really appreciate your efforts 🙏🏻 Thank you sir

  • @mrbartuss1
    @mrbartuss1 4 месяца назад +2

    51:40
    Instead of SELECT DISTINCT (COUNT ..., SELECT COUNT(DISTINCT ... should be used. Since COUNT() returns a single integer, the DISTINCT clause has no practical effect
    This statement first counts the occurrences of a specified column and then returns distinct counts of those results. However, it is important to note that this usage is not common and can lead to confusion. The DISTINCT keyword here applies to the result of the COUNT() function, which typically returns a single value (the total count). Thus, the DISTINCT keyword effectively does not change the output because the count itself will only yield one row

  • @Be-PositiveEnjoy-Life
    @Be-PositiveEnjoy-Life 2 месяца назад

    I saw whole video its just awesome!! You are doing great!
    Just 1 request from me can you create a dashboard on this project using power bi/tableau it will help me to get understand more better
    Happy to say I am your new subscriber!😊

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

    Thank you #Datatutorials...
    🙏🏻🙏🏻

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

    You are the best brother❤

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

    Thank you !

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

    Hello, Thanks for this

  • @nikhilraj71
    @nikhilraj71 3 месяца назад +5

    if statewise data sheet not importing check row 49 of the sheet trailing candidate

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

    thanks you sirr

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

    This type of video is what we exactly need.
    Please keep making such videos. Thank you!
    --What is the total number of Seats available for elections in each state?
    select s.state, COUNT(sw.constituency) as total_seat
    from states s
    inner join statewise_results sw on
    s.State_ID = sw.State_ID
    group by s.State
    order by COUNT(sw.constituency) desc;

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

    Thanks

  • @rishabhchauhan8612
    @rishabhchauhan8612 4 месяца назад +2

    State wise results me state column me state name galat de rakhe hain

  • @sanketmishrikotkar9127
    @sanketmishrikotkar9127 2 месяца назад +1

    Hi, can you please share the PPT you are showing in the video?

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

    Hi bro, Data in the statewise_results file is inaccurate. Check State column

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

    Please make power bi project also on this dataset.

  • @CarlosVolpe-w1n
    @CarlosVolpe-w1n 4 месяца назад

    Ecommerce/ Retail ka ek project in power bi and excel me upload kardo bhaiya 😊

  • @Ranjit-K9
    @Ranjit-K9 4 месяца назад +2

    Brother can you make one power BI project on this topic

    • @datatutorials1
      @datatutorials1  4 месяца назад +3

      In progress, will be uploaded soon

    • @Ranjit-K9
      @Ranjit-K9 4 месяца назад

      @@datatutorials1 Thanks brother

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

    please do a project on e commerce domain🙏🙏🙏🙏🙏🙏

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

    Sir please make a power bi dashboard for it

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

    @1:56:30 can we do this same query without using that where clause im getting same results
    SELECT TOP 10
    s.candidate,
    s.party,
    s.evm_votes,
    t.constituency_name
    FROM constituencywise_details s
    INNER JOIN constituencywise_results t ON s.Constituency_ID =t.Constituency_ID
    ORDER BY s.EVM_Votes DESC;

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

    If we import Data instead of Import flat file so it will showing showing some error
    Is this happenn in your case also ?

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

    how you calculated total parties for maharastra there are more than 7 parties in maharastra.

  • @harishkumar-yy1ig
    @harishkumar-yy1ig 4 месяца назад

    Error occurrd while fecting the individual column in tables shows the unknown filed list
    Please gove the answer

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

    At 1:57:00
    dont understand why we need to use the nested query here
    this gives same results
    SELECT top 10
    -- s.state,
    cr.Constituency_Name,
    cd.Constituency_ID,
    cd.Candidate,
    cd.EVM_Votes
    FROM
    constituencywise_details cd
    INNER JOIN
    constituencywise_results cr
    ON cd.Constituency_ID = cr.Constituency_ID
    INNER JOIN
    statewise_results sr
    ON cr.Parliament_Constituency = sr.Parliament_Constituency
    INNER JOIN
    states s
    ON s.State_ID = sr.State_ID
    ORDER BY
    cd.EVM_Votes DESC;

    • @explorewithpk8984
      @explorewithpk8984 6 дней назад

      yes bro same doubt here even i done it simple like this
      SELECT
      cr.`Constituency Name`, cd.Candidate, cd.`EVM Votes`
      FROM
      constituencywise_details cd
      JOIN
      constituencywise_results cr ON cd.`Constituency ID` = cr.`Constituency ID`
      ORDER BY cd.`EVM Votes` DESC
      LIMIT 10;

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

    only partial data can be imported ?

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

    SIR ONE SQL PROJECT ON ZOMATO DATA PLZZZZZ

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

      There are too many available already on RUclips, so I did not make one.

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

    @datatutorials for the second question I have connected the constituency results with state results as it also have state name. I have joined using parliament constituency column and grouped by state mentioning that column but my answer are different it's only showing 11 states? Can you explain the reason behind it
    SELECT
    COUNT(CR.Parliament_Constituency) AS [Total Seats],
    SR.State
    FROM
    constituencywise_results AS CR
    JOIN statewise_results AS SR
    ON CR.Parliament_Constituency = SR.Parliament_Constituency
    GROUP BY SR.State; this is my code. I think both your code and my code are logically crt but why the answers differ?

  • @explorewithpk8984
    @explorewithpk8984 6 дней назад

    for this question why to use nested query and all u can get It easily right in this way
    #13 which candidate recieved the highest evm votes in each constituency top 10
    SELECT
    cr.`Constituency Name`, cd.Candidate, cd.`EVM Votes`
    FROM
    constituencywise_details cd
    JOIN
    constituencywise_results cr ON cd.`Constituency ID` = cr.`Constituency ID`
    ORDER BY cd.`EVM Votes` DESC
    LIMIT 10;

  • @sanketsorte
    @sanketsorte 4 месяца назад +2

    Im facing issue to uploading file "Statewise_result.csv"in MySQL. kindly help me. its showing UTF-8 issue . i did tried to resave the file in normal Comma Seperated but its not working ...

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

      Save with utf 8 and try giving different name

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

      @@datatutorials1 i did but not working

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

      i am also facing the same issue while import the state_wise_result and have also set another name save as utf-8 delimated still error shows .....
      i have also one more issue while importing the constituency_wise_details csv in mysql workbench the data not entriely return in my sql workbench its returns only 512 rows.. please resolve this or give it a solution Sir ??

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

      Import it through command prompt

    • @priyankasurve7311
      @priyankasurve7311 4 месяца назад +7

      @sanketsorte Please check csv file at row num 49 there is some corrupt data "“BHAYA†" added in "Trailing Candidate" column in cell Urmila Jain.. remove that again try.

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

    Could u send the data that used?

  • @dineshwaran1461
    @dineshwaran1461 16 дней назад

    Hi bro
    where did you download the dataset from

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

    in my sql workbench i am not unable to upload the statewise result tableit show me "Unhandled exception: 'charmap' code can't decode byte 0x9d in position 5346; error

    • @SURAJKUMAR-dx1uz
      @SURAJKUMAR-dx1uz 4 месяца назад

      bro did you found the solution for this problem ?

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

      @Peaceselam145 In statewise_results table check column "Trailing Candidate" at line no 49 just remove "“BHAYA”" after URMILA JAIN. it will work.

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

      Please check csv file at row num 49 there is some corrupt data "“BHAYA†" added in "Trailing Candidate" column in cell Urmila Jain.. remove that again try.

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

      @@SURAJKUMAR-dx1uz remove that "BHAYA" in row 49 where URMILA JAIN "BHAYA" (trailing column) and just keep URMILA JAIN and it works fine

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

      @@SURAJKUMAR-dx1uz Please check csv file at row num 49 there is some corrupt data "“BHAYA†" added in "Trailing Candidate" column in cell Urmila Jain.. remove that again try. Save with utf 8 and try giving different name

  • @SHUBHAMJADHAV-lo5kb
    @SHUBHAMJADHAV-lo5kb Месяц назад

    DOES IT CONTAIN PYTHON/JAVA?

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

    select distinct state, count(parliament_constituency) as[state wise parliament seats]
    from statewise_results
    group by State
    why im getting wrong ans i mean though im getting 543 seats but im not getting all states
    please help for second question

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

    just one question can we creata a power bi dashboard for this project , is it possible..?

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

    I am unable to import statewise result file in sql. can anyone help me with this?

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

      remove "BHAYA"(it has some charmap issue) in row 49 where URMILA JAIN "BHAYA" (trailing candidate column) and just keep URMILA JAIN and it works fine

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

      @@siddharthballure thank for your reply. it helped me

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

      @@akshatarangari6796 Great work bro thank you

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

    can anyone help me to know why I'm not able to upload the tables in pgadmin4 ,i have downloaded all the 4 csv files and stored them in local folder but after creating database not bale to upload them.

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

      even i'm facing error while uploading csv files

  • @ShubhamKumar-ib2bb
    @ShubhamKumar-ib2bb 3 месяца назад

    Your election csv files are not available at the provided link

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

    in my sql workbench i am not able to upload the statewise result table it throws an error
    what to do

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

      me too facing the same error. couldn't identify the problem.

    • @AakashS-s1p
      @AakashS-s1p 4 месяца назад

      Close the excel tab which you have already opened to save the file then import the file in SQL , you cannot import data in SQL which is already opened in another tab.
      Hope your problem solved😊

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

      Please check csv file at row num 49 there is some corrupt data "“BHAYA†" added in "Trailing Candidate" column in cell Urmila Jain.. remove that again try.

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

    I am not able to import the statewise_results table in MySQL. It is showing error "UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 5347: character maps to ".
    Please tell me how to resolve this

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

      Check 49 remove unwanted characters from the column of trailing candidates and insert again

    • @OmPrakash-kc3cp
      @OmPrakash-kc3cp 29 дней назад +1

      @@aathiram717 Thanks a ton brother, it worked!! I was also facing the same issue and tried everything but nothing worked.

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

    how and where to get dataset sir?

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

    where is data link

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

    Unhandled exception: 'charmap' codec can't decode byte 0x9d in position 5347 : character maps to
    Check the log for more detail. im getting this error while uploading statewise_result csv file in mysql all other are uploaded successfully.Please help

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

    while i was trying to import "statewise_results" in MYSQL Workbench i was receiving error such as
    "unhandled exception: 'charmap' codec can't decode byte 0x81"
    how to solve this sir?

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

      Check for some error in cell data

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

      how to check those errors

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

      While importing state wise_result.. in MySQL workbench..it shows an error....unhandled exception..pls sir make video or reply that how to fix this error so we can work further in the project

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

      Please check csv file at row num 49 there is some corrupt data "“BHAYA†" added in "Trailing Candidate" column in cell Urmila Jain.. remove that again try. Save with utf 8 and try giving different name

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

    error code table india_election_result24.state does not exit . trying to solve total number of seats state wise. still coming up this table does not exit. any solution pls

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

    How it's possible two primary keys in the same table ?

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

      Ideally it should be one, the data isn’t structured and in format we need. We have this just for understanding

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

      @@datatutorials1 thank you, I get it

  • @SachinSharma-bo4bk
    @SachinSharma-bo4bk 2 месяца назад

    Not able to import statewise_results.csv file in mysql. Please help!

    • @SachinSharma-bo4bk
      @SachinSharma-bo4bk 2 месяца назад

      @@chiamakaegbulefu6797 If you find any soluntion, then please reply!

    • @chanduboini8967
      @chanduboini8967 16 дней назад

      bro did the problem got resolved

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

    can anyone tell while importing constituency wise details tables why its importing only 512 rows out of 8902 rows

    • @amigandhi5750
      @amigandhi5750 18 дней назад

      HI... I am also stuck with the same problem... did u find the solution?

    • @Siri-f7z
      @Siri-f7z 14 дней назад

      Hey did u find the solution i stuck with this problem

  • @SURAJKUMAR-dx1uz
    @SURAJKUMAR-dx1uz 4 месяца назад

    its been 4 days and cannot import the two file in mysql workbench please help?

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

      bro convert csv file to sql file from chrome then upload the data

    • @ItsNick-b9b
      @ItsNick-b9b 26 дней назад

      hey try converting the csv file to json file and there itself change the name of the header (for ex. from % of voted to of_votes) and then import the data. Hoping this helps.

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

    SELECT
    cd.EVM_Votes,
    cd.Postal_Votes,
    cd.Total_Votes,
    cd.Candidate,
    cr.Constituency_Name
    FROM
    constituencywise_results cr JOIN constituencywise_details cd ON cr. constituency_ID = cd. constituency_ID
    WHERE cr.Constituency_Name = 'BEED'
    While executing the command I am only getting the column name and the not full list of table. Can you please help fixing this

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

    In MySql server I am trying to import 1st CSV file which has 8902 rows, using Table Data Import Wizard. After importing it is showing only 512 rows. I didn't get any error. Please help me to fix this.
    Also, unable to import Statewise_results as it is showing below error "Unhandled exception: 'charmap' codec can't decode byte 0x9d in position 5347: character maps to Check the log for more details"
    Please assist. Thank you!

    • @SURAJKUMAR-dx1uz
      @SURAJKUMAR-dx1uz 4 месяца назад

      ya same problem i am also encountering did you found the solution for the problem?

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

      @@SURAJKUMAR-dx1uz same problem for me as well. please update if u find the solution

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

      @@SURAJKUMAR-dx1uz Not yet

    • @SachinSharma-bo4bk
      @SachinSharma-bo4bk 2 месяца назад

      I am also facing the very same issue.

    • @OmPrakash-kc3cp
      @OmPrakash-kc3cp 29 дней назад

      same im also facing the same issue

  • @Lifemotivation.l
    @Lifemotivation.l 4 месяца назад

    Utf 8 showing in state wise data

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

      @Lifemotivation.l Please check csv file at row num 49 there is some corrupt data "“BHAYA”" added in "Trailing Candidate" column in cell Urmila Jain.. remove that again try.

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

      @@priyankasurve7311 getting same error

  • @karthis5375
    @karthis5375 4 месяца назад +3

    Sir please suggest any project ideas for SQL

  • @MohanMohan-xf5po
    @MohanMohan-xf5po 4 месяца назад +6

    sir,please also tell us how to upload in github, it make more use full for us... , do it for 1 sql project, 1 power BI project, that's enough....., and this is my comment on youtube,because i have never ever seen the teacher like you.....with hope❣

    • @datatutorials1
      @datatutorials1  4 месяца назад +3

      Will upload soon

    • @MohanMohan-xf5po
      @MohanMohan-xf5po 4 месяца назад +1

      @@datatutorials1 thank you sir...

    • @sathishks6411
      @sathishks6411 7 дней назад

      Pls do this one sir it Will help us lot really your teaching skill is awesome if a guy knows only basic SQL if he sees your video definitely he will get an idea from my bottom of my heart thank you so much sir 😊😊

  • @ArslanHafeez-n8y
    @ArslanHafeez-n8y 4 месяца назад

    can't upload the state-DETAIL FILE

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

    But sir it is becoming very tough to get a data analytics job

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

    Any working data analyst here?

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

    NOT ABLE TO IMPORT THE DATA
    Microsoft SQL Server Management Studio
    Power BI SQL Pro
    Error inserting data into table. (Microsoft.SqlServer.Import.Wizard)
    Additional information:
    Error inserting data into table. (Microsoft.SqlServer.Prose.Import)
    The given value 'Veerath Thiyagi Viswanathadoss Thozhilalarkal Katchi of type String from the data source cannot be converted to type nvarchar for Column 2 [Party]. (Microsoft.Data.SqlClient)
    →String or binary data would be truncated in table [dbo].[constituencywise_details ]', column 'Party'. Truncated value: 'Veerath Thiyagi Viswanathadoss Thozhilalarkal Katc'. (Microsoft.Data.SqlClient)

    • @vedantmagar-g5l
      @vedantmagar-g5l 2 месяца назад

      BRO you have select task then import flat file not import.

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

    Sabme Himachal pradesh hai

  • @abhijeetsuryawanshi8217
    @abhijeetsuryawanshi8217 2 месяца назад +1

    I think data is incorrect I see indore constituency and state Himachal pradesh

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

    Statewise_results csv file is full of discrepancies. Check the state column of that csv file

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

    hii I am not able to import in mysql workbench there is error utf-8,can anyone suggest solution