SQL Unpivot and more

In this video I will demonstrate joining multiple unpivot queries using a real work example.

Пікірлер: 20

  • @aleksandraarsic1100
    @aleksandraarsic11003 ай бұрын

    Awesome video, thank you!

  • @coolharinath6003
    @coolharinath60032 жыл бұрын

    Brilliant example and explanation Brother 😎

  • @emmanuelaolaiya
    @emmanuelaolaiya3 жыл бұрын

    Great work here and thanks so much. This is very useful and helpful.

  • @hadibq
    @hadibq Жыл бұрын

    The best way to put it so far👍 Thanks it works whether data is aggregate values or not. good way akso to create tall tables for some reasons.

  • @daciai2201
    @daciai22012 жыл бұрын

    You are the man

  • @derekbyers4373
    @derekbyers4373 Жыл бұрын

    Brilliant…. Thank you

  • @chrisbertj
    @chrisbertj2 жыл бұрын

    Thank you!

  • @sempowhale3138
    @sempowhale31382 жыл бұрын

    that was clean

  • @darrylw99
    @darrylw9922 күн бұрын

    Thanks but how can you have sales amount greater than the inventory amount

  • @ajaymahato4270
    @ajaymahato42703 жыл бұрын

    Hi James, for the first section where you add the column name for unpivot, how can we write it such that the column name comes from a table or a variable so that it becomes dynamic.

  • @slavchevbg
    @slavchevbg3 жыл бұрын

    Great video! Thanks!

  • @hadireg
    @hadireg3 жыл бұрын

    🌟🌟🌟🌟🌟

  • @rapo107
    @rapo1073 жыл бұрын

    Hi james i am great fan of your teaching... could you please make a video on what are the conditions to blend two datasets in microstrategy document? Means is it enough to have one common attribute in two datasets or any other conditions.

  • @JamesOliver

    @JamesOliver

    3 жыл бұрын

    I have 2 videos I created a while back on data blending that should help. kzread.info/dash/bejne/c2x5uaalkdXge5M.html and also kzread.info/dash/bejne/qmmLmcRwj9fTddY.html

  • @CheCheSmith
    @CheCheSmith3 жыл бұрын

    Thank you. Learning SQL on my own, is there a place to download large amounts of sample data?

  • @JamesOliver

    @JamesOliver

    3 жыл бұрын

    CheCheSmith Yes install sql server express and then download the sample database AdventureWorks from Microsoft

  • @juancarlosabayo874
    @juancarlosabayo8743 жыл бұрын

    how can we know the original column name ? like SalesAmount and Week

  • @thirumalaip6458
    @thirumalaip64583 жыл бұрын

    please post a video on Microstrategy dossiers in youtube or udemy by updating your course.thanks.

  • @joshsmart9178
    @joshsmart91783 жыл бұрын

    Hi, James. For the first section of the video, you unpivoted. What if you want to add the results of that unpivoted data to another query?

  • @JamesOliver

    @JamesOliver

    3 жыл бұрын

    If I understand you correctly, you should use CTE / WITH statements to do that