Introduction to SQL/2

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

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

  • @kang2753
    @kang2753 6 лет назад +17

    Awesome lectures. Got better understanding of Databases from these lectures. Better to practice side by side on w3schools, where you can create your own database.

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

    Awesome teaching.Very good explanation sir

  • @RahulKumar-de2rw
    @RahulKumar-de2rw 5 лет назад +1

    31:24 awesome explanation of group by and having 🔥✨

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

    Arithmetic expression are used in select clause & Comparison based expression are used in where clause

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

    Can anyone please explain projection which is at 13:12. I can't get the concept.

  • @tejeshkonchada3971
    @tejeshkonchada3971 4 года назад +6

    Answer for all supervisors(direct and indirect) of "Bob" please.

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

      select D.supervisor as supervisor
      from emp-super A,emp-super B,emp-super C,emp-super D
      where A.person="Bob" and ((A.person=B.person or A.supervisor=B.person) and (B.person=C.person or B.supervisor=C.person) and (C.person=D.person or C.supervisor=D.person))
      i have just started this course.
      idk if there is some command for iteration in SQL
      but as there is no such facility in relational algebra i have used such long methods
      also idk if the bracket syntax is correct but it should be so

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

      @@mahekshamsukha5212 what if we don't know the size of the table. then what will the query be?

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

      @@aayushbhatnagar1999 i think we can import it to python and perform pandas to index you will get number and use for loop

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

      second answer of the exercise...pls...

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

      @@ankitkumarmajhi4020
      select B.supervisor
      from emp-super A, emp-super B
      where A.supervisor=B.person and A.person='Bob'

  • @vickyjha7126
    @vickyjha7126 4 года назад +4

    Watching this at 2x speed

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

      Hope RUclips had 5x too😢

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

      @@muhammadmkm3093 use js to manipulate the speed
      that is what im doinggg👀

  • @user-nz1bj1mw9b
    @user-nz1bj1mw9b 2 месяца назад +1

    An average student cannot understand these lectures . 😢

  • @PankajSingh-mm3br
    @PankajSingh-mm3br 5 лет назад

    best video

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

    Where can we find this ppt/pdf??

  • @siddharthprasad8960
    @siddharthprasad8960 6 лет назад

    i like this video

  • @dineshgoutham430
    @dineshgoutham430 5 лет назад +2

    Can any one can write queries to the assignment (supervisor table)

    • @vii2sharma
      @vii2sharma 5 лет назад +2

      * supervisor of supervisor of bob:
      select distinct e.supervisor from emp_super e, emp_super s
      where s.supervisor=e.person and s.person = 'bob'
      *all supervisors of bob
      select distinct e.supervisor from emp_super e, emp_super s
      where s.person = 'bob'

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

      @@vii2sharma this is not a generic solution. U just made use of the fact that all entries in supervisors column are ans.
      for that simply
      select distinct supervisors
      from emp_super
      will work.

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

    why was that erronous query at 28:38

    • @jamespottex5197
      @jamespottex5197 4 года назад +3

      Because the select clause contained a non-aggregated attribute ID which was not present in group by clause. For query to be correct all the non-aggregated attributes present in the select clause must be a subset of the attributes present in the group by clause...

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

      @@jamespottex5197 can you please explain elaborately

  • @geetusharma3923
    @geetusharma3923 6 лет назад

    at 21:38 instance ,
    (not unknown)= unknown seems incorrect .
    wont it be (not unknown )= known ??

    • @kesavsivakumar4869
      @kesavsivakumar4869 6 лет назад

      The result will be unknown since the u r doing NOT operation on an unknown value

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

    15:00

  • @aanandk2591
    @aanandk2591 5 лет назад +2

    Watch this at 1.5x , Thank me later

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

    6:00

  • @suryasikharej908
    @suryasikharej908 6 лет назад

    I cannot understand the null values concept.