Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
Discover how to efficiently swap column values between '1' and '0' in a SQL table using a single query. Learn the art of data manipulation within SQL to update specific column values based on conditions, enhancing your database management skills with precise and effective techniques.
This SQL script defines a stored procedure in RelianceCommissionLiveDB for uploading Excel data into SQL. It parses XML data for validation or updating Upsell Premiums.
Learn how to filter data in SQL queries based on dates and strings. Use operators like <, <=, >, >= for date ranges. Select single dates using "=", exclude specific dates with "<>". Filter strings with "=", "in", "like", "ilike" for exact or partial matches. Employ wildcard '%' for pattern matching.
Day 3 of this series involves browsing and filtering database columns, enabling you to explore and refine data effectively. Discover how to navigate through the database, filter columns based on specific criteria, and optimize your search for desired information efficiently.
Structured Query Language is a computer language that we use to interact with a relational database.SQL is a tool for organizing, managing, and retrieving archived data from a computer database.
SQL Query to find total book sales that every author has made using Joins and Group By on Multiple Columns.
Explore the ins and outs of SQL injection, a pervasive threat to web applications. This blog post explains the mechanics, provides real-world examples, and offers crucial strategies for protecting your systems.
Top 10 SQL optimization techniques, demystifying the process with real-world examples. Whether you're a seasoned SQL maestro or just starting, this journey through optimization will enhance your query performance skills.
ROW_NUMBER(),Rank(),DENSE_RANK(),SUM(), AVG(),LEAD() and LAG(), Normalizing Data Using Window Functions. In this blog, we'll delve into the world of Window Functions using a simple table example, exploring various scenarios and employing normalization techniques.
Most Asked SQL Queries in MS SQL server : Covers all major concepts in SQL (Window Functions, CTEs, Date Functions, Begin, Commit, Rollback, Update, Delete, Subqueries, Joins, Group by, Select, filter, sort)
In the realm of SQL databases, the management of identity columns plays a pivotal role in maintaining data integrity. Two commonly used functionalities, @@IDENTITY and SCOPE_IDENTITY(), aid in retrieving recently generated identity values after an INSERT operation. Understanding the nuances between these two is crucial for developers and database administrators
How to find Nth highest and lowest salary in SQL.
In the realm of SQL, two powerful tools—GROUP BY and the OVER clause—play pivotal roles in data manipulation and analysis. Understanding these tools is essential for harnessing the full potential of SQL queries. Let’s delve into their nuances and explore how they facilitate data aggregation and window functions.
In today's data-driven world, SQL is a critical tool for managing and querying databases. However, as the complexity of our data and queries grows, so does the challenge of writing and maintaining SQL code. Common Table Expressions (CTEs) offer an elegant solution to this problem. In this blog post, we'll explore CTEs, what they are, how to use them, and why they are invaluable for database professionals
In the world of SQL, handling null values is a common task. Two widely used functions for dealing with null values are ISNULL and COALESCE. While they may seem similar at first glance, they have distinct differences in how they work and the scenarios in which they are used. In this blog post, we will delve into these differences and explore when it is best to use each of these functions.
In this blog, we will discuss how to work with GROUP BY, WHERE and HAVING clause in SQL with example. Group by clause always works with an aggregate function like MAX, MIN, SUM, AVG, COUNT.
This blog showcases how to create a dynamic SQL stored procedure in SQL Server for generating custom sales reports based on user-defined inputs for the start and end dates and product categories. The stored procedure uses dynamic SQL to aggregate and select data from the sales and products tables and returns the results in a format suitable for a report.
In this blog, you will learn what is Sequence in SQL?
In this blog, You will see how to swap two columns values in SQL Server.
Everything on SQL, not only its blogs: the SQL page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyWrite a blog post and earn +250 SHARP when it is approved.
Write a blog