Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Currently learning Data Science, here is what I've learnt so far. Pt.3

Hey there! I'm getting used to posting here and really enjoying using this space to post my notes while learning. This time I learned about aggregates and how to structure my SQL queries when using them. Feel free to comment any tips, corrections, or suggestions you might have for me. Thx! ;) Aggregates - Calculations performed on multiple rows of a table. COUNT() - count the number of rows SUM()…

As I continue my journey into Data Science, I've begun exploring aggregates and their role in structuring SQL queries. Aggregates involve calculations on multiple rows within a table.

Functions like COUNT(), SUM(), MAX(), MIN(), and AVG() perform various operations on data. ROUND() handles rounding of values, and conditionals can be added to aggregates. These elements can be combined in a single query, like SELECT aggregate (column_name) FROM table_name WHERE conditional.

To round values, one can employ ROUND(column_name, int_decimal_places) FROM table_name. Stacking aggregates is also possible; for instance, SELECT ROUND(AVG(table_name), int_decimal_places) FROM table_name. To calculate aggregates for specific data characteristics, GROUP BY is used.

GROUP BY groups a result set based on an aggregate function (COUNT(), MIN(), MAX(), SUM(), AVG()), listing the number in each group. It is utilized with aggregate functions and SELECT to arrange identical data into groups. It follows WHERE statements, preceding ORDER BY or LIMIT. Additionally, it can be employed with calculations on a column.

HAVING, on the other hand, limits the results of a query based on individual row values (WHERE) versus an aggregate property (HAVING), which occurs after GROUP BY and before ORDER BY and LIMIT. The SQLite function for creating formatted dates is strftime(format, column), with format options like %Y for year (YYYY), %m for month (01-12), %d for day (1-31), %H for 24-hour clock (00-23), %M for minute (00-59), and %S for seconds (00-59).

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

This story

This is one outlet's version. Read the fullest account.

Every outlet that reported this, and when →

Read the original at dev.to →

Report a problem with this story

More in Tech

1,826 draw calls to put 61 objects on the screen

Development covered 15 Aug 2026 to 17 Aug 2026 (commit dates). Players of Myriad Immortal Sect walk a continent that streams in around them as they go.

  • 1,826 draw calls used to display 61 objects
  • Renderer draws all loaded objects, not just visible ones
  • Chunk assembly runs within per-frame budget

Why I Chose a Node.js 3-Stage Plan for Healthcare Appointment Retrieval

Healthcare appointment assistants have a nasty retrieval constraint: the same policy can arrive as a new PDF, a portal export, and a copied scheduling note.

  • Three-stage retrieval plan ensures accurate healthcare appointment data
  • First stage filters clinic, language, and document type
  • Third stage deduplicates chunks and re-ranks based on freshness and authority

Why a browser-based Gemini watermark remover should sometimes keep the original

Disclosure: I build WatermarkLift. This is an implementation note about a free, browser-local tool for the visible bottom-right Gemini star, not an independent product review.

  • WatermarkLift is a browser-based Gemini watermark remover tool.
  • Users download original image, check supported watermark template.
  • Tool provides three outcomes: cleaned, original kept, or could not process.

More from Sunday 11 October →