2 Jun 2024 Jakub Romanowski Course of the Month: 2023 Advanced Monthly SQL Practice Enhance your SQL skills this June 2024 with our exclusive offer on the 2023 Monthly SQL Practice Sets - Advanced course, available for free for a limited time! As summer rolls in, it's the perfect time to learn new skills or brush up on the ones you've got. This June, why not seize the chance to deepen your SQL expertise with some challenging exercises drawn straight from the business world? Read more 21 Mar 2024 Tihomir Babic 15 Tricky SQL Interview Questions for Experienced Users SQL interview questions for experienced users usually contain some trick(y) questions. Interviewers use them to test your gumption, which is typically a result of extensive experience and a high level of SQL knowledge. I will show you 15 tricky SQL interview questions (mostly coding) in this article. Mind you, these are not necessarily complex questions. Actually, that’s their main characteristic: they seem very easy and straightforward, but that’s the interviewer trying to deceive you. Read more 31 Jan 2024 Maria Durkin This Advanced SQL Course Will Boost Your Career! Can you already create pretty good SQL reports? Do you want to take it a step further? In this article, I'll explain how an advanced SQL course can propel you (and your career) to the next level. Since you are looking for information about SQL, you probably already know how important data is nowadays. Very few companies can stay on the market without using the power of data or basing their strategic decisions on it. Read more 10 Aug 2023 Martyna Sławińska Advanced SQL Practice: 10 Exercises with Solutions As SQL proficiency continues to be in high demand for data professionals and developers alike, the importance of hands-on practice cannot be emphasized enough. Read on to delve into the world of advanced SQL and engage in practical exercises to enhance your skills. This article provides you with a collection of ten challenging SQL practice exercises specifically for those seeking to enhance their advanced SQL skills. The exercises cover a selection of SQL concepts and will help you refresh your advanced SQL knowledge. Read more 23 Mar 2023 Jill Thornhill How to Practice Advanced SQL Online with LearnSQL.com Want to go from intermediate to advanced SQL user? You’ll need to practice! Here are some ways you can practice advanced SQL online. You’ve seen how SQL helps you make data-driven decisions. Perhaps you’ve even learned some advanced features. But you’d like to become an expert—and for that, you need practice, practice, and more practice. Is it possible to get advanced SQL practice online? Taking SQL to the Next Level What is advanced SQL? Read more 28 Feb 2023 Ignacio L. Bisso 25 Advanced SQL Query Examples One of the best ways to learn advanced SQL is by studying example queries. In this article, we'll show 25 examples of advanced SQL queries from medium to high complexity. You can use them to refresh your knowledge of advanced SQL or to review before a SQL interview. Table Employee Many of the examples in this article will be based on the following employee table. Only a few examples will be based on other tables; in these cases, the tables will be explained along with the example. Read more 27 Dec 2022 Alexandre Bruffa Learn Advanced SQL with LearnSQL.com In this article, we will propose a learning path that will cover advanced SQL topics. If you already know the basics of SQL, you probably have figured out that most online and offline SQL tutorials and courses usually cover the basic and intermediate concepts: SELECT, FROM, WHERE, ORDER BY, GROUP BY, and joining tables. Even university database courses typically don’t cover more advanced SQL topics. While this is enough SQL for most everyday tasks, there are some relatively new features that have been added to SQL in the last 20 years: window functions, recursive queries, and GROUP BY extensions (ROLLUP, CUBE, GROUPING SET). Read more 19 May 2021 Tihomir Babic What Is Advanced SQL? Are you confused about advanced SQL skills? What are they? This article will explain what advanced SQL can mean, especially as we use it on LearnSQL.com. I’m sure you find the phrases ‘advanced SQL skills’ or ‘advanced SQL topics’ very often. You read one article about advanced SQL and you’re happy with how easy these advanced topics seem to be. Then you talk to someone and you see they consider everything you know as basic SQL knowledge. Read more 27 May 2020 Tihomir Babic 5 Advanced SQL Constructions Every Data Analyst Should Learn Does your job involve data analysis? Here are five examples of how advanced SQL can help you in your daily work. I’m a data analyst and I have to say – data analysts can be quite strange. Other people are usually afraid of immense amounts of data; we enjoy it. The deeper we get into data, the happier we are. An important tool for getting into data (and thus being a happier data analyst) is SQL. Read more 15 Dec 2017 Dejan Sarka Statistics in SQL: Dependencies Between Discrete Variables In my previous article, we looked at how you can calculate linear dependencies between two continuous variables with covariance and correlation. Both methods use the means of the two variables in their calculations. However, mean values and other population moments make no sense for categorical (nominal) variables. For instance, if you denote "Clerical" as 1 and "Professional" as 2 for an occupation variable, what does the average of 1.5 signify? Read more 31 Aug 2017 Aldo Zelen Common SQL Window Functions: Positional Functions Positional SQL window functions deal with data's location in the set. In this post, we explain LEAD, LAG, and other positional functions. SQL window functions allow us to aggregate data while still using individual row values. We've already dealt with ranking functions and the use of partitions. In this post, we'll examine positional window functions, which are extremely helpful in reporting and summarizing data. Specifically, we'll look at LAG, LEAD, FIRST_VALUE and LAST_VALUE. Read more 7 Aug 2017 Aldo Zelen SQL Window Functions: Partitions and Ranking Functions You’ve started your mastery of SQL window functions by learning RANK, NTILE, and other basic functions. In this article, we will explain how to use SQL partitions with ranking functions. Mastering SQL window functions (AKA analytical functions) is a bumpy road, but it helps to break the journey into logical stages that build on each other. In the previous Common SQL Functions article, you learned about the various rank functions, which are the most basic form of window functions. Read more 4 Aug 2017 Ignacio L. Bisso SQL Window Function Example With Explanations Interested in how window functions work? Scroll down to see our SQL window function example with definitive explanations! SQL window functions are a bit different; they compute their result based on a set of rowsrather than on a single row. In fact, the “window” in “window function” refers to that set of rows. Window functions are similar to aggregate functions, but there is one important difference. When we use aggregate functions with the GROUP BY clause, we “lose” the individual rows. Read more 24 Jul 2017 Dejan Sarka High Performance Statistical Queries – Skewness and Kurtosis In descriptive statistics, the first four population moments include center, spread, skewness, and kurtosis or peakedness of a distribution. In this article, I am explaining the third and fourth population moments, the skewness and the kurtosis, and how to calculate them. Mean uses the values on the first degree in the calculation; therefore, it is the first population moment. Standard deviation uses the squared values and is therefore the second population moment. Read more