Urgent.News

What's breaking now, across thousands of outlets.

Tech

Which SQL Database Should You Install?

By Michael Nocito , data analyst · Published August 7, 2026 If you want to write SQL against your own data today, install a file-based engine: SQLite if you are learning, DuckDB if your data is already in CSV files. Both give you the whole SQL language. Neither has a server to start, a port to open, or a password to set. Install a server such as PostgreSQL, MySQL or SQL Server when, and only…

Installing a file-based engine, such as SQLite or DuckDB, is recommended if you are the only one interacting with the data. These databases do not require a server or any additional setup like ports or passwords. They are ideal for personal use or when working on a single machine. On the other hand, if multiple users need to read and write the same data simultaneously, a server database like PostgreSQL, MySQL, or SQL Server is necessary.

These databases run as separate programs that can handle concurrent connections from multiple clients. The decision between a file-based or server database depends on whether more than one person or program needs simultaneous access to the data. In most cases, installing a file-based database like SQLite or DuckDB is sufficient for individual use or small projects, as they are simple to set up and allow you to start querying your data quickly.

However, if collaboration or remote access is required, a server database is the appropriate choice.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

NULL in SQL: Why = NULL Finds Nothing and What to Write Instead

By Michael Nocito , data analyst · Published August 7, 2026 By the end of this page you can predict what any query does when it meets a missing value, which is the skill that separates "my query…

  • NULL represents unknown or missing values in SQL
  • Comparing with = NULL always returns unknown and excludes rows
  • IS NULL operator checks specifically for NULL values

Month-over-Month Growth in SQL: LAG, the Growth Formula, and the Traps

By Michael Nocito , data analyst · Published August 7, 2026 By the end of this page you can write a month-over-month growth query and trust its answer.

  • Month-over-month growth calculated using LAG function
  • LAG function fetches previous month's revenue for comparison
  • Three common traps can lead to incorrect growth calculations

How to Find Duplicate Rows in SQL (and Decide What Counts as One)

By Michael Nocito , data analyst · Published August 7, 2026 By the end of this page you can check any table for duplicate rows, list every copy, and mark which one to keep, all with queries you…

  • Decide what defines a duplicate (all columns or specific column)
  • Compare total row count to distinct key count using COUNT() vs COUNT(DISTINCT key)
  • Group rows by duplicate columns, keep groups with COUNT() > 1, mark extras with ROWNUMBER

More from Friday 21 August →