Blog to learn about SQL, database, Oracle, SQL Server, MySQL, PostgreSQL concepts and much more.
Thursday, October 24, 2024
How to use WHERE and HAVING clause in SQL? Example Tutorial
Difference between MySQL vs NoSQL (non relational DB) - Pros and Cons
Hello guys, if you are wondering whether to choose a NoSQL database like MongoDB, Cassandara, or MySQL for your application then you have come to the right place. In an earlier article, MySQL vs PostgreSQL I had shared the pros and cons of choosing MySQL over PostgreSQL for your application, and in this article, I am going to show the benefits and drawbacks of choosing MySQL over NoSQL or vice-versa.
How to do Pagination in SQL Server? Query Example Tutorial
What is pagination?
Transposing data in SQL - Example Tutorial
What is Transposition?
A transposition is when data is rotated from one row or column to another in order to modify the data layout and make observations from a different perspective. Row to the column, column to column, and bidirectional transposition are examples of basic transposition algorithms. Others, such as dynamic transposition, transposition with inter-row computations, and join-based transposition, are more complicated. All are prevalent in data analytics and so worthy of investigation.Wednesday, October 23, 2024
SQL cross join Example and it's performance
Hello guys, in the past, I gave you a quick overview of SQL JOINS where we learned about different types of JOINS like right, left, inner, and outer join, and in this article, we'll learn about the SQL CROSS JOIN idea in this post, and we'll back up our knowledge with simple examples and illustrations. So, let's start with the basics.
Difference between DDL and DML commands in SQL with examples
What are SQL commands?
Saturday, October 19, 2024
MySQL vs PostgreSQL? Pros and Cons
Friday, October 18, 2024
What is Virtual columns in MySQL and How to use it? Example Tutorial
What is a Virtual Column and where is it used?
Top 5 Common Errors and Mistakes in SQL and How to Solve Them
After writing some SQL code, you're ready to query your database. You type in the code, and nothing happens. Instead, you're presented with an error notice. Don't give up! SQL, like any other computer language, is prone to coding mistakes. We'll go through a few frequent mistakes individuals make while creating SQL in this tutorial.
Wednesday, October 16, 2024
How to use ROW_NUMBER() Function in SQL with nondeterministic order? Example Tutorial
The ROW NUMBER window function has a wide range of uses, much beyond the apparent ordering requirements. Most of the time, while computing row numbers, you need to do it in a specified order, which you provide in the function's window order clause.
How to filter data in SQL? WHERE, LIKE, and BETWEEN Example
Difference between Primary and Foreign key in Database and SQL
Wednesday, October 2, 2024
How to concatenate columns in SQL Server? Example Tutorial
Hello guys, welcome to my new blog SQLrevisited. I have long back created this blog to exclusively share SQL and Database articles but never get time to start it until today. This is the first article on this blog and in this post, you will learn how to contact multiple columns in an SQL server. Like Java and many other programming languages and databases, you can use the + operator to concatenate multiple columns in SQL Server. You can join as many columns as you want with the + operator but you must remember that concatenating with NULL will produce NULL, which means you can lose the information from other columns if one of them is NULL.