SQL Create Table and Insert Data - A Complete Tutorial

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

КОМЕНТАРІ • 69

  • @GodzGem
    @GodzGem 2 роки тому +22

    Man, the most clear and concise instructional video I’ve found. You did a great job with the walk through and really walked us through it. Didn’t have skip a second… I LOVE SQL !!!, I’m happy you’re showing love back to the tech community.

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

      Thanks for the great comment. Really glad that it helped

  • @DublinObserver08
    @DublinObserver08 2 роки тому +9

    In my opinion, this is the most clear, brief but very explanatory video, just straight to the point. Thanks so much, I managed to complete my assignment with your help.

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

      Thanks, thats a great comment. I'm glad the video has helped

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

    I often find my self coming back to your channel.
    Videos are very simple and easy to understand.
    I am not a full time dev, been trying to get a promotion by developing on the side of my regular work and using the results to speed things up.
    Thank for the videos and hope you get many more subscribers.

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

    best ever ... finally someone who knows what he's doing...!!!

    • @TheSQLGuy
      @TheSQLGuy  3 роки тому

      Thanks, glad you enjoyed it! More to come soon too

  • @roywit7836
    @roywit7836 4 роки тому +7

    Perfect tutorial just subbed
    I've noticed many SSMS Videos do not describe about the primary key, this has helped thanks

    • @TheSQLGuy
      @TheSQLGuy  4 роки тому +1

      Glad it helped. Thanks a lot

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

    Thank you so much ,I am new to SQL have been trying to create table but it was giving error 208, went through a lot of videos but nothing helped.This is the only video that helped me create my first table. Thank you so much SQL Guy 😊😊

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

      Glad it helped you! Long may it continue

  • @KanizFatema-qh1rg
    @KanizFatema-qh1rg Рік тому +1

    You are a best Teacher, thank you

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

    You just gained a subscriber, can’t wait to explore more of your videos..keep up the good work

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

      Glad you enjoyed it! Lots more coming soon

  • @Ryl33_74
    @Ryl33_74 3 місяці тому +2

    You saved my assignment, thank you

  • @voidthinker
    @voidthinker 3 роки тому +4

    Very nice. Brief and precise videos. It helped me a lot in understanding of table creation with SQL queries.

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

      Excellent, thanks a lot. Glad it helped

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

    Finally, understood what is going on with creating tables

    • @TheSQLGuy
      @TheSQLGuy  3 роки тому

      Glad it helped, I've got a few more table related tutorials coming out soon too

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

    Very helpful, clear and to the point! Many thanks

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

    found this very helpful. thanks

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

    Thank you for the video, your instruction is way better than my professor explanation.

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

    amazing !!!

  • @anderson.rsantana
    @anderson.rsantana 29 днів тому +1

    There’s a hot topic in my company about people saying varchar as ‘varkar’ and ‘varchar’ .. I noticed you said varchar, most of people do the same.

    • @TheSQLGuy
      @TheSQLGuy  26 днів тому

      Yes we have similar discussions. Who knows! I guess it changes from country to country. Maybe it's what you hear first!

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

    VERY useful thank you

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

    Great presentation

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

      Thanks, glad you enjoyed it

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

    very nice explination. hoping you will upload more video

    • @TheSQLGuy
      @TheSQLGuy  3 роки тому

      Thanks, glad you liked it. Yes more coming soon so stay tuned

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

    Please, could you help me with a question?
    What is the diference between
    Create type [...] as table
    and
    create table ()
    ?
    Thanks

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

    Thanks man!

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

    finally found a tutorial

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

    Loved the video. I have a question please : I have a table that has two columns;Id & tag names and another table that has much more info but they have the tagnames in it. I want to query every single element in table 1 to find if it exists in table 2. I want this query to run every 5 minutes. How can I do that?
    thanks in advance

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

      Thanks, glad you enjoyed it.
      I'd turn this into a stored procedure and schedule it.
      For the query, there are a few ways. You could use a cursor to loop through table 1 and query table 2 and depending on the result it do the next step.
      Alternatively you could use a Left JOIN to search for any missing values.
      It depends on a number of factors, cursors aren't great and try to avoid them where possible. It also depends on table size etc but I'd look at those two options

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

    Awesome!

  • @Steven-mf2db
    @Steven-mf2db 2 роки тому +1

    I notice you use the abbreviation "tbl" for table. I wrote this in a draft design spec recently and my new boss ("who knew the job inside out") had never heard of such a thing and made me change it to TABLE telling the rest of the team that it wasn't a thing. I feel a sense of vindication that The SQL Guy uses it too.

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

      I love tbl_ !!!
      Any naming convention is better than nothing though so I guess TABLE works too

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

    when inserting percentages into a table, do you set the column up as int?

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

    Thank you

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

      You're welcome, hope they help

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

    does anyone know why when I create the table, it doesn't show up under the tables option in the left. I switched the top left thing to the name of my database I was using but it still doesn't show up and I'm not sure how to reopen the query I made under it.

  • @Fabian-ew7ly
    @Fabian-ew7ly 2 роки тому

    Why did you add the [Id] column using ALTER TABLE, when you had already defined [Id] as a column in the CREATE TABLE syntax above it?

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

    Which software you use? Mysql ?

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

      Microsoft SQL Server

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

    The video isn't clear here

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

    LOL "Unless you're five, nobody cares about half years"

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

      Glad my joke made someone laugh!

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

    All I get when running something similar is "Incorrect syntax near 'FirstName' _" and no new table to be found. Following exactly what I'm seeing in the video so I'm unsure as to what I'm doing wrong.

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

      Closed my connection then reopened it and everything worked. Not quite sure why but I won't complain. That you very much sir.

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

    Don't know how all have commented but bro it is impossible to see anything what u r displaying u should use Magnifier

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

      Yes, I've changed that with later videos. Thanks for the feedback though

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

    Hi nice work, by the way can you help me how to create table operator in sql developer

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

      I've got a tutorial on SQL Operators. Let me know if that helps

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

    How can i insert adress

  • @itreportcambodia8283
    @itreportcambodia8283 4 роки тому

    video good

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

    You could have at least zoomed into the screen so we could see what your typing

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

    Knowledge is best but volume is very slow this video

  • @You-t1g
    @You-t1g 2 роки тому +1

    Video 🎥 and voice is not clear.

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

    It doesn't work