5 Basic SELECT Statement Queries in SQL

Поділитися
Вставка
  • Опубліковано 5 лют 2025
  • Here are 5 Basic SELECT Statement Queries in SQL so you can begin pulling the information you need out of your database and tables!
    Query demos:
    1) Select ALL from a table: SELECT * FROM table
    2) Select certain columns from a table: SELECT column1, column2, column3 FROM table
    3) Select all the unique or distinct rows in a column from a table. Another way to think of it is "removing duplicates": SELECT DISTINCT column FROM table
    4) Change the displayed name of your columns by adding Aliases: SELECT column1 AS alias1, column2 AS alias 2 FROM table
    5) Add arithmetic in your SELECT statement by using mathematical expressions: SELECT quantity*price AS total_price FROM table
    Get the Northwind Database: • How to Load a Sample P...
    Support the Channel:
    1) Subscribe:
    2) DataCamp:
    3) Udacity:

КОМЕНТАРІ • 38

  • @tacosmargs58
    @tacosmargs58 Рік тому +17

    Thanks, I'm just starting to learn SQL and this helped a lot. I'm 47 years old. Never stop learning!

    • @rusmw
      @rusmw 7 місяців тому +2

      10 months on, how is the learning of SQL getting on?

    • @tacosmargs58
      @tacosmargs58 7 місяців тому +3

      @@rusmw I completed the google data analytics certification. Haven't been practicing lately but thanks for the reminder!

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

      @@tacosmargs58 well done on doing the course, it is an undertaking to follow it through.

  • @123Mrhoboman
    @123Mrhoboman 3 роки тому +27

    college student. Better taught than my classes. Might just pass the class now thank you

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

      your cs teachers are just tenured folks like me who need a job. Unfortunately most of us can't teach lol. Sorry about that :p

    • @AhmedG-tv
      @AhmedG-tv 3 місяці тому

      Literally 😂

  • @Cdanne
    @Cdanne 2 роки тому +7

    I might not drop my class because of you. Thank you! You're an incredibly easy to understand teacher. I spent over an hour scouring UA-cam before I found your channel. Kinda thrown in the deep end of database concepts class.

  • @embisonjones4996
    @embisonjones4996 2 роки тому +3

    You are brilliant sir. Honestly, you have an easy and laid back way of teaching that’s incredibly relaxing and engaging. Thank you sir!

  • @amberpitt2674
    @amberpitt2674 3 роки тому +3

    These videos are so helpful for my college class! Way better than the teacher

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

    Thnks very very much I didn’t even understand one word from the teacher.!!!

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

    really helpful for new sql people!!

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

    I love u man. Thanks for the vid

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

    This was a very solid video for quick sql refresh!

    • @EddieBiago
      @EddieBiago 9 місяців тому

      How can I sume the screen you see it clearer

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

    Very Helpful for beginners

  • @juliakristavilladiego4425
    @juliakristavilladiego4425 4 роки тому +2

    Thank you. Really helpful!

  • @emmswarega
    @emmswarega 2 роки тому +2

    How do i select people whose title of courtesy starts with only Mr. ?

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

    So when you select as alias, is the alias stored indefinitely or does it only run for that query?

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

    Easy to understand, thanks you🙏

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

    u r the best

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

    Nice video

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

    Pretty cool.

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

    When you create the queries do they save

  • @queensheba9769
    @queensheba9769 2 роки тому +1

    I wish I could like multiple times

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

    Thank you very much

  • @baskarnallusamy994
    @baskarnallusamy994 2 роки тому +1

    Please explain SELECT statement basic to advanced level including window function

  • @S.A.M.U.R.A.I.7
    @S.A.M.U.R.A.I.7 4 роки тому +2

    How to select all invoices from 1 customer

  • @d.o.nmuzic3802
    @d.o.nmuzic3802 2 роки тому

    thank you

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

    You sound like crazyeyemarketing

  • @EddieBiago
    @EddieBiago 9 місяців тому

    I'm not seeing the screen

  • @SegunOmotosho-jg4ub
    @SegunOmotosho-jg4ub Рік тому

    pls ur name

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

    Thanks 🙏 I needed this … just simply to the point

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

    Thank you

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

    Thank you