SQL Count(*), Count(cte), Count(column), Count(pk), … x Inner and Outer Joins
In SQL, The Count function counts the number of values in a set. Such function accepts a parameter, that specifies[…]
Read moreDatabaseTips.Net – From SQL to database tuning; here you can find it all!
In SQL, The Count function counts the number of values in a set. Such function accepts a parameter, that specifies[…]
Read moreTo delete a great number of rows from a table may become a pain in the neck. A never ending[…]
Read moreIt is really common to have columns that stores sequences of numbers in database systems (specially in relational databases). Users[…]
Read moreFor many people, using noncorrelated subqueries (using In/Not In) seems to be more natural than using Exists/Not Exists and correlated[…]
Read moreJoins are one of the most common operators in SQL queries. In this post, we present inner and outer joins[…]
Read moreDuplicate data can be generated in the database due to design error, software bugs or misuse by end users. Depending[…]
Read moreNon-correlated subqueries (where the inner query does not have any column from the outer query tables) are usually implemented using[…]
Read moreLEAD and LAG are window functions that enable the simultaneous access to a table’s row and to other row related[…]
Read moreThere are a lot of options to use when testing for NULL values in SQL. One should use built-in functions[…]
Read moreThere is some confusion when dealing with some users and schemas. Some DBMS support several schemas per database, while other[…]
Read more