SQL University
SQL University
  • Видео 134
  • Просмотров 292 102
Real-World example of using SQL Server to assist in making a puzzle book!!
This video is the beginning portion of a much larger video where I will cover how I used sql code to generate data for a puzzle book. In this particular video, I cover IF EXISTS, DROP TABLE, SELECT INTO, INSERT INTO, SYSOBJECTS, XTYPE, and certain errors that you will need to look out for.
Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
--******************************************************************************************************************************************************
-- This is the sql code that allowed me to come up with my 720 combination of 1 to 6.
--******************************************************...
Просмотров: 174

Видео

IF EXISTS, DROP TABLE, SELECT INTO, INSERT INTO, SYSOBJECTS, XTYPE
Просмотров 4813 месяца назад
This video is the beginning portion of a much larger video where I will cover how I used sql code to generate data for a puzzle book. In this particular video, I cover IF EXISTS, DROP TABLE, SELECT INTO, INSERT INTO, SYSOBJECTS, XTYPE, and certain errors that you will need to look out for. Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture...
SQL SERVER CASE SENSITIVITY TRICK
Просмотров 373Год назад
BEST SQL SERVER CASE SENSITIVITY TRICK CASE SENSITIVE: COLLATE SQL_Latin1_General_CP1_CS_AS CASE INSENSITIVE: COLLATE, SQL_Latin1_General_CP1_CI_AS (DEFAULT INSTALL OPTION) Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
SQL SERVER CASE SENSITIVITY TUTORIAL
Просмотров 115Год назад
DETERMINING SQL SERVER CASE SENSITIVITY TUTORIAL CASE SENSITIVE: COLLATE SQL_Latin1_General_CP1_CS_AS CASE INSENSITIVE: COLLATE, SQL_Latin1_General_CP1_CI_AS (DEFAULT INSTALL OPTION) Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
SQL SERVER CASE SENSITIVITY LESSON
Просмотров 92Год назад
CHECK SQL SERVER CASE SENSITIVITY LESSON CASE SENSITIVE: COLLATE SQL_Latin1_General_CP1_CS_AS CASE INSENSITIVE: COLLATE, SQL_Latin1_General_CP1_CI_AS (DEFAULT INSTALL OPTION) Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
HOW TO CREATE NEW SQL SERVER TABLE SCHEMA
Просмотров 549Год назад
Quick Lesson: CREATE NEW SCHEMA in SQL SERVER 1. Create Schema CREATE SCHEMA xyz 2. Transfer an object to the new schema ALTER SCHEMA xyz TRANSFER dbo.mytable Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
SQL SERVER CREATE NEW SCHEMA TUTORIAL
Просмотров 89Год назад
How you can quickly CREATE NEW SCHEMA in SQL SERVER 1. Create Schema CREATE SCHEMA xyz 2. Transfer an object to the new schema ALTER SCHEMA xyz TRANSFER dbo.mytable Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
SQL SERVER CREATE NEW SCHEMA LESSON
Просмотров 115Год назад
Your guide to CREATE NEW SCHEMA in SQL SERVER 1. Create Schema CREATE SCHEMA xyz 2. Transfer an object to the new schema ALTER SCHEMA xyz TRANSFER dbo.mytable Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
SQL SERVER: CHANGE TABLE SCHEMA
Просмотров 1 тыс.Год назад
How to change schema ownership in SQL SERVER 1. Transfer an object to the new schema ALTER SCHEMA xyz TRANSFER dbo.mytable Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
SQL SERVER CREATE NEW SCHEMA
Просмотров 820Год назад
How to CREATE NEW SCHEMA in SQL SERVER 1. Create Schema CREATE SCHEMA xyz 2. Transfer an object to the new schema ALTER SCHEMA xyz TRANSFER dbo.mytable Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
SQL SERVER CASE SENSITIVITY
Просмотров 495Год назад
HOW TO CHECK SQL SERVER CASE SENSITIVITY CASE SENSITIVE: COLLATE SQL_Latin1_General_CP1_CS_AS CASE INSENSITIVE: COLLATE, SQL_Latin1_General_CP1_CI_AS (DEFAULT INSTALL OPTION) Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
SQL MAX, MIN , AVG FUNCTIONS along with GROUP BY and PARTITION BY
Просмотров 780Год назад
Showing the MAX(), MIN(), AVG() functions along with the GROUP BY clause and PARTITION BY analytical functionality. Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
REALLY FAST SQL CONCAT() FUNCTION TUTORIAL
Просмотров 58Год назад
REALLY FAST SQL CONCAT() FUNCTION TUTORIAL. SHOWS TWO WAYS TO CONCATENATE STRINGS. Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
SQL SUM, AVG FUNCTIONS along with GROUP BY and PARTITION BY
Просмотров 219Год назад
Showing the SUM(), AVG() functions along with the GROUP BY clause and PARTITION BY analytical functionality. Link to my SQL Courses on Udemy: www.udemy.com/course/sql-server-fast-track-intro-to-queries/learn/lecture/4885630
SQL MAX, MIN and AVG FUNCTION and GROUP BY and PARTITION BY
Просмотров 107Год назад
SQL MAX, MIN and AVG FUNCTION and GROUP BY and PARTITION BY
QUICK SQL CONCAT() FUNCTION LESSON
Просмотров 76Год назад
QUICK SQL CONCAT() FUNCTION LESSON
SQL SUM FUNCTION along with GROUP BY and PARTITION BY
Просмотров 2 тыс.Год назад
SQL SUM FUNCTION along with GROUP BY and PARTITION BY
SQL SUM and AVG FUNCTION and GROUP BY and PARTITION BY
Просмотров 119Год назад
SQL SUM and AVG FUNCTION and GROUP BY and PARTITION BY
QUICK SQL CONCAT() FUNCTION TUTORIAL
Просмотров 3,9 тыс.Год назад
QUICK SQL CONCAT() FUNCTION TUTORIAL
SQL MAX, MIN & AVG FUNCTION WITH GROUP BY
Просмотров 188Год назад
SQL MAX, MIN & AVG FUNCTION WITH GROUP BY
SQL MAX() FUNCTION, MIN() FUNCTION, AVG() FUNCTION, SUM() FUNCTION GROUP BY
Просмотров 137Год назад
SQL MAX() FUNCTION, MIN() FUNCTION, AVG() FUNCTION, SUM() FUNCTION GROUP BY
QUICK SQL CONCAT() FUNCTION EXAMPLE
Просмотров 42Год назад
QUICK SQL CONCAT() FUNCTION EXAMPLE
SQL SUM FUNCTION and GROUP BY and PARTITION BY
Просмотров 505Год назад
SQL SUM FUNCTION and GROUP BY and PARTITION BY
SQL SUM & AVG FUNCTION WITH GROUP BY
Просмотров 136Год назад
SQL SUM & AVG FUNCTION WITH GROUP BY
SQL MAX() FUNCTION, MIN() FUNCTION, AVG() FUNCTION, GROUP BY
Просмотров 65Год назад
SQL MAX() FUNCTION, MIN() FUNCTION, AVG() FUNCTION, GROUP BY
SQL SUM FUNCTION WITH GROUP BY
Просмотров 164Год назад
SQL SUM FUNCTION WITH GROUP BY
SQL SUM() FUNCTION, AVG() FUNCTION, GROUP BY
Просмотров 176Год назад
SQL SUM() FUNCTION, AVG() FUNCTION, GROUP BY
SQL SUM() FUNCTION, GROUP BY
Просмотров 201Год назад
SQL SUM() FUNCTION, GROUP BY
SQL Server Table Creation Date and Schema Changes Report
Просмотров 62Год назад
SQL Server Table Creation Date and Schema Changes Report
SQL SUM(), LAG(), LEAD(), PARTITION BY
Просмотров 214Год назад
SQL SUM(), LAG(), LEAD(), PARTITION BY

Комментарии

  • @asilbekmakhmudov
    @asilbekmakhmudov 16 дней назад

    love the low quality mic, somehow it makes me think that i am actually learning smth instead of doomscrolling

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

    the Smitty/Committee joke was a criminal act, but I guess we can let it slide because that was a good explanation 😛 Thanks!

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

    amazing job

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

    Youre a hero. Thank you for the video

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

    Great explanation. Love the anecdotes as well.

  • @WaqarArshad-fq9ls
    @WaqarArshad-fq9ls 2 месяца назад

    2nd Question: I want to build SQL Server Usage scanner in which I want to get information related to users, which user perform which query and how much time it took to complete the query start date end date etc

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

      Take a look at the Profiler in SSMS

  • @WaqarArshad-fq9ls
    @WaqarArshad-fq9ls 2 месяца назад

    I have a question? which query I can use to get this

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

    Thank you!!

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

    Thank you very useful.. one thing though .. the query - If exists (Select * from A) Drop table A will work only if there are any records in the table .. If you delete first from the table then it will not work as select * will not return data

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

      Are you running it from SQL Server, or a different RDBMS?

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

    A lot of words but little substance. This could easily be a 4 minute video

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

    Great video... try to post more often

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

      @jazzista1967 I will. Thanks for the feedback!

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

    you ought to do a stand up mister 😁

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

      haha, right?! I get that ALL the time. Thanks!

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

    There is a big difference between people who study a material and then teach, and people who teach from their own experiences. Good luck.

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

      Thanks @aminabbaszadeh1066 ! It means a lot.

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

    very informative, thank you.

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

    Bro you are funny

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

      Thanks @abdulazizmohammed6300, I try! (It's never rehearsed, it just happens!)

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

    Amazing

  • @Kennedy-z3g
    @Kennedy-z3g 4 месяца назад

    Hi buddy, thank you so much for this simple to follow & very useful tutorial. Can you please do another one where we export a table or stored procedure table to a csv file. Thank you

  • @ПавелНестюркин
    @ПавелНестюркин 4 месяца назад

    you are amazing!

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

      Thank you so much! What did you like the most about the video?

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

    Great content. Why did you stop posting? Please create more like this! Now shorts are in trend as well

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

    Great explanations , thank you so much 🙏

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

    Thank You for this video. i am clear with Next previous LAG(), LEAD() and Partition by :)

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

    Funny, but Vida Blue played baseball, not football

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

    great!!!

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

    Thanks for the explanation of the term WINDOW in the SQL context and showing the Sum function in SQL. Excellent example. Do you have more aggregate function examples? Thumps up. Question: Is it possible to do a running total of all salaries? Just subscribed to your channel!

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

      Thanks @jazzista1967! Check out this video for the running total: ruclips.net/video/KqemVaTTR-k/видео.html It's at about 10:50 into the video. Have fun!

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

      The above referenced video covers: SQL SUM, AVG FUNCTIONS along with GROUP BY and PARTITION BY

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

    Well done, Sir.

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

    Great stuff!

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

    that was good, i really enjoyed it. I find myself using partion by a lot at work its nice to know how it works with different things thanks

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

    You don’t need to cast ints with concat

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

    Explained like we are all stupid, like marketers. Great stuff. Really clear.

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

      Thank You, @MountRushCollymore!

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

    10/10 it was really helpful

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

    got it very quickly thanks

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

    Informative and funny

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

    I love this guy

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

    too many ads!

  • @awesomeuploads118
    @awesomeuploads118 9 месяцев назад

    I wanna know what happens if we remove order by after partition by dept

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

      @awesomeuploads118 You can certainly try that in certain database tools, however SQL Server throws an error. You can do it i snowflake for sure though.

  • @danielgovender5263
    @danielgovender5263 9 месяцев назад

    I noticed people write a query " .....xxxxx (xxxxx) a" .. they dont write AS they just write the name outside the bracket and it picks up as an alias 🤔 is that a thing ?

  • @danielgovender5263
    @danielgovender5263 9 месяцев назад

    Whats the chances that i left these sections to study for last and it happened to be in 1 video 😂

  • @danielgovender5263
    @danielgovender5263 9 месяцев назад

    Tbh this is the best video on these sections that ive found on yt

  • @yaboi8268
    @yaboi8268 9 месяцев назад

    This was awesome thanks

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

    Thank you!

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

    useless video

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

    good video !

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

    Hi, Thank you for the Video, How can I write with totals instead of running total?

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

    To the point video!

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

    Quick and dirty. I like it. Thanks

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

    Clarity ,humor and Content superb 10/10

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

    Absolute legend! You are an amazing teacher.

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

    Can you say how can we get the total sum in all the columns instead of running sum

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

      @shankarkr1603 Just do this: SELECT SUM(SALARY) FROM EMP

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

    thank you that's a great video!

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

    loved it. thank you so much.