CS50 SQL - Lecture 1 - Relating

Поділитися
Вставка
  • Опубліковано 3 жов 2024

КОМЕНТАРІ • 45

  • @mahmudhasanrimel9347
    @mahmudhasanrimel9347 Рік тому +92

    Even though I have intermediate knowledge of SQL, I am taking this course to refresh myself. The explanations are crystal clear, and the topics are well-organized. Overall, I would give this course a 5-star rating.

  • @GenZ_01_
    @GenZ_01_ Місяць тому +8

    Cs50 courses are on another league .
    Carter you’re a great teacher.
    Thank you all🙏🏽

  • @ManhTienNguyen-q5e
    @ManhTienNguyen-q5e Рік тому +21

    Thank you so much for putting this online and free for us. I'm learning Data Science and getting started with SQL is really easier with your instruction.

  • @WarbossPepe
    @WarbossPepe 11 місяців тому +12

    You're a great teacher and communicator Carter. Thank you for doing what you do

  • @janetkalu3064
    @janetkalu3064 11 місяців тому +12

    Thank you for putting this course out for us. I can proudly say that I have never enjoyed querying tables until now. You make it seamless and stuck in my head. I don't have to repeatedly memorize queries, without understanding the underlying concepts. Thank you so much

  • @kamalkishor3127
    @kamalkishor3127 11 місяців тому +6

    Great teacher, Awesome way of communication, each concept is crystal clear and easy to understand.
    Love to see more videos from you.
    Great thing CS50.
    💌

  • @msantosuk
    @msantosuk Місяць тому +1

    Great course, I'm learning so much. Congratulations guys! Carter is a great teacher.

  • @srisaisubramanyamdavanam9912
    @srisaisubramanyamdavanam9912 Місяць тому +1

    Im grateful for taking this course to learn sql

  • @alainrouleau
    @alainrouleau 5 місяців тому +1

    Thanks so much!
    I finally understand, after all these years, how JOIN actually works and all its variants. Love the animated joins. Very nice to see what happens visually. That helped to explain things quite a lot.
    The query within a query, aka as subqueries or nested queries, was all very interesting as well. Didn't realize you could go so deep and do something like that. You know, multiple nested queries all on one line. Pretty crazy.

  • @SamraatMaharjan
    @SamraatMaharjan 5 місяців тому

    I am absolutely loving these playlists.

  • @MOHAMEDTAHARFERHAT
    @MOHAMEDTAHARFERHAT 6 місяців тому

    Great explaination and so unique way of teaching it help me so much in university 🥰

  • @SothearithKONGMrMuyKhmer
    @SothearithKONGMrMuyKhmer 6 місяців тому +1

    Great! Thanks a lot for this tutorial! 🥰

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

    This guy talks as well as Malan, very good course

  • @ramankr0022
    @ramankr0022 7 місяців тому +1

    Thank you!

  • @not_amanullah
    @not_amanullah 6 місяців тому

    thanks ❤

  • @rebekahmenn2118
    @rebekahmenn2118 11 місяців тому +1

    Can anyone figure out why my query is coming back as incorrect? The prompt for Lesson 1, Question 12 in the DESE set of questions is:
    "Write a SQL query to find public school districts with above-average per-pupil expenditures and an above-average percentage of teachers rated “exemplary”. Your query should return the districts’ names, along with their per-pupil expenditures and percentage of teachers rated exemplary. Sort the results first by the percentage of teachers rated exemplary (high to low), then by the per-pupil expenditure (high to low)."
    And here's my query:
    SELECT "districts"."name", "staff_evaluations"."exemplary", "expenditures"."per_pupil_expenditure" FROM "districts"
    JOIN "expenditures" ON "expenditures"."district_id" = "districts"."id"
    JOIN "staff_evaluations" ON "staff_evaluations"."district_id" = "districts"."id"
    WHERE "staff_evaluations"."exemplary" > (
    SELECT AVG("staff_evaluations"."exemplary")
    FROM "staff_evaluations"
    ) AND "expenditures"."per_pupil_expenditure" > (
    SELECT AVG("expenditures"."per_pupil_expenditure")
    FROM "expenditures"
    )
    ORDER BY "staff_evaluations"."exemplary" DESC, "expenditures"."per_pupil_expenditure" DESC;
    Every time I check my answers, CS50 tells me this is wrong but I can't figure out why.

  • @mehmedkukavica8076
    @mehmedkukavica8076 8 місяців тому +1

    Super

  • @tiwoni972mad
    @tiwoni972mad 10 місяців тому +1

    WEELL WE'RE BBBACK!!!!

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

    In moneyball ERD have two tables players and salaries. relation between table players and table salaries 1.N but some players LIKE Satchel Paige doesnt have matches, i dont get something or its mistake

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

    Nested querying feels like recursion somehow...

  • @shauryathakkar2274
    @shauryathakkar2274 6 місяців тому

    Why would we use subqueries if we can use joins instead ???

    • @Charky32
      @Charky32 4 місяці тому +2

      There's no need to Join, a subquery will sack for exactly what data we want Join will search the joined table and which multiple conditions which is inefficient

  • @mdryan8
    @mdryan8 5 місяців тому

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

    bro just did space, space, space, space ☠

  • @HasiburRahman-e6r
    @HasiburRahman-e6r 6 місяців тому

    Where can I find the data file?

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

    Where do I take this data bases used in the course?

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

      Hi! there are a link named "set of problem" in each week class when you register in the course in the edx harvardX page

  • @AryanShetty-z3z
    @AryanShetty-z3z 11 місяців тому +2

    Guys how can i download the software or sqlite shown in this image begginer i wanted to code along with him; your help would be appreciated ❤

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

    Is there any reason why at 1:09:42 , "NULL" did not appear for the presenter?

    • @AryanShetty-z3z
      @AryanShetty-z3z 11 місяців тому

      Bro how can I download software he is using.

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

      @@AryanShetty-z3z VS Code

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

      @mastertoru5531 It is the property of SQLite to not show NULL. Different RDBMS follow different convention.

  • @MehmetAliTukenmez
    @MehmetAliTukenmez 11 місяців тому +2

    Do you have the solutions for the problem set?

    • @cherishkansara7851
      @cherishkansara7851 11 місяців тому +1

      We could help eachother in doing problem sets if you want

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

      Hi!, I would like to know if you made a group to help each other with the problem set

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

    When the problmes will be released?

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

    I cant see tables in my longlist when i enter ".tables "it just outputs longlist any solution for that? Thanks!

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

      Make sure you downloaded the file longlist-2.db

    • @mateuszmarchewka6127
      @mateuszmarchewka6127 10 місяців тому +1

      @@ericvaish where do we download this file from?

  • @Amoz21
    @Amoz21 4 місяці тому +1

    Say no to struggling with sql

  • @DM-ul5yc
    @DM-ul5yc 2 місяці тому

    He refers to a woman as they. So progressive of him.

  • @immotile
    @immotile 4 місяці тому +1

    What's going on with Carter? Compared to the first SQL lesson he's like on speed!
    @davidjmalan what have you done with him? :)