Urgent.News

What's breaking now, across thousands of outlets.

Tech

NO idea where to start learning SQL?

This article is a beginner friendly guide that gets you started into learning SQL as a programming language. Introduction Relational databases store data in tabular form, often referred to as structured data. The alternative is Unrelational databases. Now SQL is simply the programming language that enables you to do so. SQL stands for Structured Querry Language Basics To understand a Structured…

This article provides a beginner-friendly introduction to SQL, a programming language used to interact with relational databases. Relational databases store structured data in tables, while unrelational databases store data in a different format. SQL, which stands for Structured Query Language, is the language used to manipulate and query this data.

To understand SQL, four key concepts are important:

1. Tables: Data is organized into rows and columns, similar to a spreadsheet. For example, a "Customers" table might have columns for customer name, contact information, and other attributes.

2. Databases: A database is like a house that stores the organized data electronically, making it easier to find, retrieve, and modify. This is typically done using specialized software.

3. SQL command categories:

- DDL (Data Definition Language): Defines and modifies the structure of the database, such as creating, altering, or deleting tables.

- DQL (Data Query Language): Used to retrieve data from tables without modifying it. The most common command is "SELECT."

- TCL (Transaction Control Language): Manages groups of changes as a single unit, ensuring data consistency. Commands include "COMMIT," "ROLLBACK," and "SAVEPOINT."

- DML (Data Manipulation Language): Used for working with the data inside tables, such as inserting new rows, deleting rows, or updating existing rows.

5. DCL (Data Control Language): Manages user permissions, such as granting or revoking access to specific database objects.

To get started with SQL queries, the SELECT statement is essential. For example: "SELECT first_name, last_name FROM customers WHERE county = 'Mombasa' ORDER BY age DESC;" This query retrieves the first and last names of customers from the "Customers" table who live in Mombasa, ordered by age in descending order. Once you understand these basic concepts, you can move on to more advanced topics like filtering, sorting, and joining tables.

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

Why Your .NET MCP Tool Classes Crash at Runtime (And the Two-Line Fix)

If you're building MCP servers in .NET with instance-based tool classes — the kind that take ILogger<T> , HttpClient , or a repository through constructor injection — there's a good chance you've…

  • Runtime crashes occur in .NET MCP tool classes with constructor injection.
  • Issue not flagged by warnings or compile-time errors.
  • DotnetFastMCP v2.1 provides two-line fix for problem.

Weekend Build Log: The Timeout Is the Product

You sit down Saturday with one failing test file. The stack trace is ugly and long. You want a tiny helper that groups those failures. Ninety minutes later you are still retrying a model.

  • Programmer groups failing test files together
  • Timeout set as product, limiting job to one verb
  • Sunday run with tight scope and 90-second limit

More from Sunday 13 September →