SQL Querying for Beginners Tutorial

Поделиться
HTML-код
  • Опубликовано: 11 июл 2024
  • SQL Querying for Beginners Tutorial
    Get Ad-Free Training by becoming a member today!
    / @learnittraining
    Exercise Files: bit.ly/3n5sr0G
    SQL Express Download Link:
    www.microsoft.com/en-us/Downl...
    Northwindsql Link:
    raw.githubusercontent.com/mic...
    Northwind Alternate: bit.ly/3sIvodn
    If you are having issues with the Northwind DB pleases delete lines 24 and 25 and execute.
    Who it's for: This course has been designed for individuals who wish to learn how to use SQL to query databases and extract information.
    What it is: SQL stands for Structured Query Language. It’s a common language for gathering, organizing, and exporting data stored in relational databases.
    What you'll learn: In this course, you’ll learn basic SQL usage and terminology, as well as how to execute simple queries and queries using criteria conditions. Next, you’ll learn how to summarize, organize, and export valuable query data and results.
    Join Learnit Anytime for ad-free training, exams, certificates, and exclusive content:
    www.learnitanytime.com
    For Private Group Trainings please visit:
    www.learnit.com/private-group...
    Manuals: bit.ly/30xZb59
    Username: manuals
    Password: password
    Start 0:00
    Introduction 0:03
    Introduction to SQL 0:30
    Installing SQL Server 4:27
    SQL Keyword Command Language and Hierarchy 8:26
    Connecting to a SQL Database 13:35
    Creating and Saving a Query 22:44
    Using One or More Query Conditions 32:43
    Applying AND OR Operators 40:36
    NULL NOT NULL 46:48
    Range of Values 49:28
    Querying Data Using Wildcard Characters 58:04
    Formatting Column Headings with Aliases 1:04:48
    Formatting Query Data Results 1:10:06
    Performing Date Calculations - DateDifDateAdd 1:14:10
    Summarizing Data Using Aggregate Functions AVG COUNT SUM min max 1:22:39
    Manipulating Text Results with String Functions CONCAT_SUBSTR 1:30:26
    Sorting Data Order BY and GROUPBY 1:38:07
    RANK and HAVING 1:46:24
    Mathematical Financial Expressions 1:52:23
    PIVOT 1:58:24
    JOIN 2:07:27
    Union ALL 2:20:30
    Except Clause 2:26:30
    Sub Queries 2:28:25
    Exports 2:40:41
    Conclusion 2:44:04
    #SQL #Query
    (C) 2022 Learnit, Inc.
    Any illegal reproduction of this content will result in immediate legal action.

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

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

    To anyone unable to see the Northwind Database on the left side of the screen:
    (i) Rigth click on the folder "Databases" -> "New Database..."
    (ii) On "Database name" write Northwind and click OK
    (iii) Click "New Query", paste and execute the script
    Thanks lolo for the great tip!
    If you are having issues downloading the northwind file please use this online practice lab: www.sql-practice.com/

  • @sepegden
    @sepegden Год назад +29

    This instructor is probably the best I've seen so far. This course was at the right pace, and the right subject matter and has been such a great help. Thanks so much

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

      You're very welcome!

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

      @@LearnitTraining Hi, you are wonderful teaching, I am having some trouble getting the Northwind.sql file. would you assist me on how to download it. Thank You

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

      @@kolvis78 not only you self, me too

    • @niitnahuja8793
      @niitnahuja8793 11 месяцев назад +1

      @@kolvis78 I was facing the same, in the end, I made a new database in Management studio. I did it using the right click in the database tree on the left column, named it "Northwind". Opened a query in the database and then pasted the syntax from the file in the description adn saved it. It worked.
      After it, I was able to perform all the queries as taught in the lesson.

  • @mortonwakeland3809
    @mortonwakeland3809 8 месяцев назад +4

    OMG - perfect diction! Thank you Christina!! Some of the folks on here I cannot understand for they speak about 10,000 mph! Best and thank you for your time! Mort

  • @dkorobchenko1
    @dkorobchenko1 2 года назад +9

    Thank you very much for making this tutorial, it really helped me out!
    Many tutorials out there just can't compete with your level of quality.
    Can't wait for intermediate and advanced tutorials! I hope they will be in the foreseeable future :)

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

      Thank you for the kind words!

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

      @@LearnitTraining please how can I get the northwind file please, because I can't see it sir.

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

    Very good video for a refresher! I was able to quickly pick up from where I left when I began learning SQL. Thank you for such a great content. You're awesome.

  • @kensimba7868
    @kensimba7868 2 года назад +10

    We can't wait for more advanced tutorials by your state-of-the-art tutors like captain Dan McAllister ( the man with a gorgeously coarse voice),Sean Bugler (eloquent man), ma'am Chelsea Dohman (a sweetheart s voice), etc. They made me a programmer. God bless learnit

  • @omkarchogale1445
    @omkarchogale1445 Месяц назад +3

    Great instructor! Thank you so much for this course, Christina. Your guidance has been invaluable and truly appreciated

  • @ThekisoPhume
    @ThekisoPhume Год назад +4

    WOW What a best instructor! this is the most comprehensible SQL tutorial I have came across so far !✅✅✅

  • @lorik9940
    @lorik9940 4 дня назад +1

    Wow. What a great course! Good job😄 I learned the basics of sql in 3 days and ready to go. Thanks!!

  • @terrychen2662
    @terrychen2662 2 года назад +6

    Very great SQL course and very specific. Thanks for sharing.

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

    You guys make such good courses. I could learn anything explained by you.

  • @searchformeaning85
    @searchformeaning85 11 месяцев назад +7

    Excellent instructor. Crystal clear explanation! Please add SQL queries intermediate, advanced, expert and database design with her. Dan McAllister also was an amazing instructor. Keep up the good work.

  • @soundofmusic0613
    @soundofmusic0613 2 года назад +2

    Pretty neat, simple, and well-explained! Thanks for this tutorial! It helps me a lot!

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

      You are very welcome! Thank you for watching!

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

      How to download data from github?

  • @user-zu3lf2qi3y
    @user-zu3lf2qi3y Год назад +2

    Cant Wait for your full SQL course!!! so exited!!! 🤩🤩🤩

  • @1982epm
    @1982epm 2 года назад +2

    Greattt,
    especially for me who is self-taught because I got a job as an IT Consultant DBA
    Now I have become proficient in MSSQL queries.
    But there are still some that I don't fully understand.
    This content has really helped me a lot.
    If I may request, I want to see the content of always on replication

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

      Hi Deny! We are producing a much more robust SQL Reporting Services video series coming soon!

  • @vanillacreem816
    @vanillacreem816 Год назад +4

    This is an incredible tutorial. I'm at the 1:57:00 mark and have already learned so much. Well done on teaching this!

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

      Awesome, thank you!

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

      @@LearnitTraining please sir, I can't see the northwind file please where can I get the file, sir.

  • @samnako
    @samnako Год назад +8

    Guys, the instructor here is awesome. Her explanations on sql concepts are excellent. She made me develop a strong desire for sql. Its often been confusing all along in years past.
    For the first time i saw there is a fine line separating sql from php though they both go together in my choice of programming. For the first time i wrote sql statements and ran them on the phpmyadmin environment and also saw a button that can help me generate the php code of sql.
    Madam, i can't thank you enough. You are a 5 star GENERAL in the teaching of sql. You made it less frustrating and less intimidating. This is what a teacher looks like. Thank you again ma, i had to come back here after a week to give you this feedback, review and to subscribe to your channel. God bless you richly with more wisdom.

  • @shnuiiwithdoublei
    @shnuiiwithdoublei 11 месяцев назад +1

    i love it! looking forward intermediate and advanced sessions as well. thankyou so much for the open upload of such quality content

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

    Very clear lecture and easy to follow, thank you ! 👍

  • @berziboy1090
    @berziboy1090 2 года назад +2

    Great Video, easy to follow and clear to understand

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

    I watched a full, 3 minutes long advertisement as a simple way to support this marvelous channel:-;

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

      Thank you so much! Small things like that help us tremendously!

  • @Ikilledthebanks
    @Ikilledthebanks Год назад +3

    Incredibly well done, I wish you could zoom in a bit when working in the query editor but really great job. Thank you very much

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

    Very helpful video! Thanks for all the hard work.

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

    Excellent,although very basic. Looking forward to your intermediate and advanced level of sql server tutorial 👍👍

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

      Coming soon!

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

      Am waiting for these advanced SQL tutorials specifically by learnit because they have top-notch instructors, the likes of Chelsea Dohman, Captain Dan McAllister, Sean Bugler etc. I absolutely love their work

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

      @@LearnitTraining How soon? it's has been 2 years now.

  • @amos0140
    @amos0140 2 года назад +2

    Thank you for providing an excellent tutorial, pitched at exactly the right level for me !
    I am now able to construct and execute my own enquiries at work without pestering the IT dept. every time

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

    Very insightful tutorial. Very helpful for me learning SQL on my own

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

    Awesome Work, I have learnt alot from this. Thanks so much for the good work indeed.

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

    was really waiting for it.... thanks in advance learnit.

  • @alexrosen8762
    @alexrosen8762 2 года назад +2

    Super useful! Thanks 🙂

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

    Very well explained video.
    Very good.
    Thank you.

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

    Thank you for uploading such a helpful video tutorial

  • @tommya1086
    @tommya1086 2 года назад +6

    Great content :). Will we be getting a complete course with advanced and expert videos?

    • @LearnitTraining
      @LearnitTraining  2 года назад +11

      Hi Tommy! This is just a single course for now. We are working on more SQL videos however!

  • @pinielchitare9221
    @pinielchitare9221 2 года назад +2

    A great tutorial and a nice voice

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

    I can't wait for the Intermediate Tutorial video

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

    well done- VOICE of sql ;)
    pięknie podane, z jajem-tak to ujmę:)

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

    👏👏👏👏👏👏👏 thanks for breaking it down.

  • @lolo-bd6kx
    @lolo-bd6kx 2 дня назад +1

    To anyone unable to see the Northwind Database on the left side of the screen:
    (i) Rigth click on the folder "Databases" -> "New Database..."
    (ii) On "Database name" write Northwind and click OK
    (iii) Click "New Query", paste and execute the script

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

    amazing video!!

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

    Fantastic tutorial

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

      Thank you for the kind words Jean Pierre Beuses!

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

    Amazing Explanation 👍👍

  • @user-bv3cd9im5s
    @user-bv3cd9im5s 2 года назад

    Thanks very much

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

    Next level please 😀

  • @divyanshsingh2764
    @divyanshsingh2764 8 месяцев назад +3

    After successfully executing the script as instructed at 21:00 . I am unable to see the database on the left hand side of the screen . Please suggest some solution for it.

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

    Thank You Madam

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

    Thank you

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

    The content in course is very good. Are we getting complete course?

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

      Hi Kyasa! We actually combined the course into one, but we are working on more SQL videos coming soon!

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

    Great :)

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

    thank you

  • @franzkern4208
    @franzkern4208 2 года назад +2

    Great Content.
    Thanks a lot.

  • @User-qw1ir
    @User-qw1ir Год назад +3

    I cannot download Northwind. From the video description. How can i do it?

  • @rubenalcidesfigueroa1655
    @rubenalcidesfigueroa1655 11 месяцев назад +1

    Awsome

  • @amosufit3174
    @amosufit3174 8 месяцев назад

    Many thanks for the video. The training is superb but I have issues with loading the Northwind database, hence, couldn't follow along. Pls be kind to explain more on how to load the database to the server.

    • @LearnitTraining
      @LearnitTraining  8 месяцев назад

      This article may help: learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/linq/downloading-sample-databases#get-the-northwind-sample-database-for-sql-server

  • @ntonyjaime_
    @ntonyjaime_ 5 месяцев назад +1

    Hi,I just started working through the tutorial tips on the video. In the first part when you used northwind.sql,and said to close the sql management studio and connect back in. When i did that,I could not find on the left hand side (object Explorer).
    What can I do So I can follow along

  • @josueg8852
    @josueg8852 2 года назад +2

    We need the intermediate and advanced version of sql server:)

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

      Hi Josue! Those videos are currently being produced! We will have 6 brand new videos on SQL Reporting Services soon!

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

    Great

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

    Thank you! I have a question though. If I want to use the database (excel or access files for example) containing information on my own business (for real life use), how can I import that data into SQL server?

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

      Hello Thanh Phan! You can get help directly from our instructors at Offsite, our online community - www.offsitebylearnit.com

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

    Thank you, dear! Will you teach intermediate, advanced, and professional skills? I want to learn your lessons.

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

    Hello. Really excited for this tutorial. However, when I go to execute the DB from the files downloaded from github it is not working. The files I have downloaded and am trying to executre are named slightly different. "instnwnd (Azure SQL Database).sql" and "instnwnd.sql." When I open the later it looks identical to what you are showing in the recording, but still will not execute. Your help would be greatly appreciated.

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

      Hi Jacob! You can get your question answered at Offsite, our online community - www.offsitebylearnit.com

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

    thank you I could use that alternative website but I want to know why I couldn't add that database into my SQL SERVER?

    • @LearnitTraining
      @LearnitTraining  Месяц назад +1

      We can't say for sure as we do not have any access to your SQL Server. We do try to provide as many options as possible for being able to access the Northwind Database.

  • @bambina5604
    @bambina5604 10 месяцев назад +3

    Unable to create the database. The script execution is successful but there's no Northwind db after restarting.
    Edit: the script from GitHub even says "This script does not create a database.". The pubs script works, the Northwind one added tables to System Database.

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

      This article may help: learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/linq/downloading-sample-databases

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

      Hey, what was the name of the datebase that appeared in SSMS? Is it Northwind? The name im getting is "pubs"...

  • @niitnahuja8793
    @niitnahuja8793 11 месяцев назад +1

    I always follow learnit for everything I need to learn. Great resource. In this particular lesson, I wish either ranking was explained in more detail or should have been taken out all together. The explanantion was more counfusing.
    Still a great video to learn or even revise SQL. Covers all the topics beautifully.
    Thank you @LearnitTraining

  • @infini.tesimo
    @infini.tesimo 2 года назад +2

    For some reason the database isn't creating like you said it would after logging out then back in. I even saved the file on my desktop. What am I doing wrong?

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

      Hi The Generational Wealth Guy! You can get help at Offsite, our online community - www.offsitebylearnit.com

  • @GozallHasan
    @GozallHasan 25 дней назад

    hi
    i finally found the most helpful course to learn from and i really want to practice it , but i got problem in downloading the Northwind sql databases i would love to complete practicing in this course may i have some help in how to effectively download this file???

    • @LearnitTraining
      @LearnitTraining  25 дней назад

      If you are having issues downloading the northwind file please use this online practice lab: www.sql-practice.com/

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

    Can u teach us VBA in Access aswell? would be awesome too !

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

      Yeahnick! We will definitely look into getting that add to our video production list

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

      @@LearnitTraining awesome!

  • @giulianociolacu4637
    @giulianociolacu4637 2 года назад +2

    Hi, i can t file the file northwindsql in the provided link... can you please let me know where should i look?

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

      Northwindsql Download Link:
      github.com/Microsoft/sql-server-samples/tree/master/samples/databases/northwind-pubs

  • @paduaronel
    @paduaronel 3 дня назад +1

    Good day. the northwind daabase didnt appear.
    all the tables will appear under the master database.
    can you help me to solve this.?
    thank you

    • @LearnitTraining
      @LearnitTraining  3 дня назад

      If you are having issues downloading the northwind file please use this online practice lab: www.sql-practice.com/

  • @RealLamasyah
    @RealLamasyah 8 месяцев назад +1

    Please where's the link to these class file described at 0:12 ?
    Please I need help to find them

    • @LearnitTraining
      @LearnitTraining  8 месяцев назад

      Exercise Files: bit.ly/3n5sr0G
      SQL Express Download Link:
      www.microsoft.com/en-us/Download/details.aspx?id=101064
      Northwindsql Link:
      raw.githubusercontent.com/microsoft/sql-server-samples/master/samples/databases/northwind-pubs/instnwnd.sql
      Northwind Alternate: bit.ly/3sIvodn

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

    Can I get a follow up to this Video..? Say the Intermediate and the Master and Expert level..... ..!!!

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

      Hi Aamir! We currently have a full scale SQL class being recorded. It will be a 5 video series. Coming soon!

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

    Experiencing challenges loading the Northwind scrift onto SSMS, its not creating the relevant tables thus preventing me from further progressing with the course. Kindly advice on how to remedy this.

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

      Hello Nwadike! You can get help directly from our instructors at Offsite, our online community - www.offsitebylearnit.com/

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

    hi transfer northwind file and then execute it but the database won't be shown in the section of database, what should I do?

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

      You can also practice using this site: www.sql-practice.com/

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

    hi I have a problem, after copy pasting the DB and execute them and logging out and opening the management studio, there is no saved northwindsql on the left side column so I can't continue practicing. would you please help me?

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

      Northwindsql Download Link:
      github.com/Microsoft/sql-server-samples/tree/master/samples/databases/northwind-pubs

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

      @@LearnitTraining Hi I have the same problem after logging out and opening the management studio, there is no saved northwindsql on the left side column. What are we meant to do with the link you have provided above to fix this?

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

    Can't create Northwind database. Code in GitHub seems broken.

  • @9to5Drone
    @9to5Drone 2 года назад +2

    This may be a stupid question but how do I download the Northwind data?

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

      Well that Northwind DB is a 20 year old database. She should be using the new Adventure Works 2019 database.

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

      Hi 9 to 5 Voyager! The link to the Northwind data is in the video description

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

    hello i have problem. how can i get the interval hours or total hours in single column Date(timestamp). because of mixing time-in and time-out in single column. also how can i get the first-in and last-out per day at per employeeID. Send me query please :(

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

      Hi Erajie! You can get your question answered at Offsite, our online community - www.offsitebylearnit.com

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

    how do I download the Northwind data? There Is no Northwind SQL in the link now.

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

      Hi Peacemind888! The link to the Northwind data is in the video description

  • @KH-uz4hc
    @KH-uz4hc 2 года назад +1

    How do I access the Northwind database script? I have followed the link with no success. I also can't see the responses to others who have asked about this. Thanks.

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

      Hi K H! We just tested the link and the site is still working. Once you get to the page the links are instnwnd.sql, instpubs.sql, and readme.md Instructions on how to install them are lower on the page.

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

    Where did you get the Northwind file from?

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

      Northwindsql Link:
      raw.githubusercontent.com/mic...
      Northwind Alternate: bit.ly/3sIvodn
      If you are having issues with the Northwind DB pleases delete lines 24 and 25 and execute.

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

    Great job. However, the exercise file is not available. I d really like to have it

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

      Thank you so much for the kind words Jackie! We are glad you learned so much!

  • @abrilgonzalez7892
    @abrilgonzalez7892 7 месяцев назад +1

    My Northwind file shows up as is an Microsoft Access File, doesn't do It as "Northwind.sql". ¿How can I fix that? Thanks you!

    • @LearnitTraining
      @LearnitTraining  7 месяцев назад +1

      This article may help: learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/linq/downloading-sample-databases

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

    Hi, did everything according to video, installed SSMS v 18.12.1, copied the text to create the northwind db, no errors, close the program and open again, but no northwind db, please advise.

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

      Hi Bevan! You can get help directly from our instructors at Offsite, our online community - www.offsitebylearnit.com

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

      I experienced same problem. After doing everything as said in the video, I still didn’t find the file at the database section

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

      @@steveroody you must use the file depending on your version of software, I got it to work. There are two files one for v12 and higher and one for older versions below v12

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

    I dont need to save the script first?

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

      Hi KwadKen! You can get help directly from our instructors at Offsite, our online community - www.offsitebylearnit.com

  • @LeneSandNielsen
    @LeneSandNielsen 11 месяцев назад +1

    I cant find microsoft managment studio as a program on my labtob. ?????
    I have followd the instroction i the video

    • @LearnitTraining
      @LearnitTraining  11 месяцев назад

      Hello LeneSandNielsen! Press Windows + R to open the Run Command Box on your computer, type MMC in the box, and hit Enter. This will bring up the Microsoft Management Console Interface.

    • @LeneSandNielsen
      @LeneSandNielsen 11 месяцев назад

      @@LearnitTraining i get a window Consol1 with an empty folder

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

    northwind isnt showing inmy database, i am using ms sql-server

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

      Here is the link to download: github.com/Microsoft/sql-server-samples/tree/master/samples/databases/northwind-pubs

    • @ancienthuman
      @ancienthuman 9 месяцев назад +1

      i am having the issue where the new northwind file doesn't show up on SSMS after log back in.

  • @theestherealtor
    @theestherealtor 6 месяцев назад +1

    How do you download this for a MAC?

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

      This article may help: www.macworld.com/article/672043/how-to-set-up-and-learn-sql-on-mac.html

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

    Great job, thank you very much!
    I don´t understand the difference between JOIN (or inner join) with subqueries. Can you explain me, please?

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

      Your personal and company data are protected in this chat
      Certainly! Let's delve into SQL subqueries and how to use them in conjunction with INNER JOINs.
      Subqueries (also known as nested queries) are queries embedded within other queries. They allow you to retrieve data from one table based on the results of another query. Subqueries can be used in various parts of a SQL statement, including the SELECT, FROM, WHERE, and HAVING clauses.
      INNER JOIN is used to combine rows from two or more tables based on a related column between them. It returns only the rows where there is a match in both tables.
      When combining subqueries with INNER JOINs, follow these steps:
      a. Name the subqueries: To make the query work, you need to name the inner selects (subqueries). This helps avoid ambiguity and ensures that the columns match correctly. Here's an example:
      SELECT *
      FROM (
      SELECT B.branchName, A.type, AVG(T.amount) AS avg_amount, COUNT(A.accNumber) AS num_accounts
      FROM Branch B, Account A, Transactions T
      WHERE B.branchNumber = A.branchNumber
      AND A.accNumber = T.accNumber
      GROUP BY B.branchName, A.type
      ) q1
      INNER JOIN
      (
      SELECT B1.branchName, COUNT(A1.accNumber) AS num_accounts
      FROM Account A1, Branch B1
      WHERE A1.branchNumber = B1.branchNumber
      GROUP BY B1.branchName
      HAVING COUNT(A1.accNumber) > 5
      ) q2
      ON q1.branchName = q2.branchName;
      b. Ensure consistent column names and data types: Both subqueries should have the same number of columns and compatible data types for the columns you intend to join on.
      Remember that subqueries can be powerful tools, but they can also impact performance. If possible, consider using JOINs directly instead of subqueries to achieve the same result.
      Feel free to explore more complex scenarios with subqueries and JOINs to enhance your SQL skills!

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

      oh great@@LearnitTraining ! Thank you very much for your help dedicated. Greetings!

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

    Northwinds file come from? It was to fast for me..maybe I'm not ready for sql..

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

      Here you go!
      Northwindsql Download Link:
      github.com/Microsoft/sql-server-samples/tree/master/samples/databases/northwind-pubs

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

      @@LearnitTraining Seems like the Northwinds file was removed from the provided link.

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

    is pivoting for beginners? :)

  • @johnpopolizio9518
    @johnpopolizio9518 11 месяцев назад

    seems interesting but I cant get the Northwind code off the site so I am at an early stop

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

    4/21/2023 ~4:30

  • @user-br2gc9ov1q
    @user-br2gc9ov1q Год назад +1

    please how do i get Northwind.sql file. i cant find it????

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

      Northwindsql Download Link:
      github.com/Microsoft/sql-server-samples/tree/master/samples/databases/northwind-pubs

  • @firdausismail3020
    @firdausismail3020 7 месяцев назад +1

    Why is my Northwind file does not appear?

    • @LearnitTraining
      @LearnitTraining  7 месяцев назад

      Try using the alternate:
      Northwind Alternate: bit.ly/3sIvodn

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

    I did not see the northwind database after logging back in

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

    Hello, am having a problem creating the northwind database after executing the queries nothing is created...kindly help

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

      Hello guys, i really need help in executing the northwind database, am already executing but no database is being formed

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

      Is it possible to get a script that is working properly

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

    Hi all, I've executed the query (NorthwindSql) for database creation. It has successfully executed and completed. However, I do not see this database any where in the object explorer. Please provide the steps. Thank you in advance.

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

      This article may help: documentation.alphasoftware.com/pages/GettingStarted/GettingStartedTutorials/Basic%20Tutorials/Northwind/northwindSQLServer.xml#:~:text=This%20tutorial%20requires%20SQL%20Server%20or%20SQL%20Server,name%20field%2C%20type%20in%20%22northwind%22%20and%20click%20OK

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

    omo his SQL northwind file is not processing, i have been to the community site its not helpful either

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

      For those who might encounter same issues of line 24 and 25 , remove them and execute, then you are good to go

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

      Thank you Anonde for the tip!

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

    Hello, I could not find the Northwind.sql file. Could anyone help me, please?

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

      github.com/Microsoft/sql-server-samples/tree/master/samples/databases/northwind-pubs

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

    How do I download the script file

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

      Hi Tyler! All the links to the files you need for class are in the video description

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

    in-queue

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

    Thanks for the video, but its to small.

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

      Hi Joe! We are currently producing a much longer video series on this topic!

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

    I started parallelly learning sql Where can we find assets , northwind.sql

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

      Do we need to download from external sources or it’s inbuilt

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

      Hi Subraja! You will need to download Northwind