r/SQL • • 1h ago

PostgreSQL Do We Need SQL For Marketing Analytics Role

6 Upvotes

SaaS And Performance marketing guy with 6 Years Of Experience The next Role im targeting is fully into measuring like analyzing data , measuring and tracking [Marketing analytics ] for that Learning SQl Will Help Or Not , If Not Means What are all the skill set should i focus on now on learning , Drop Your Thoughts below , your inputs helps me to take decision


r/SQL • • 20h ago

MySQL SteelSQL — a database client that works like a spreadsheet

2 Upvotes

I've spent six years building a desktop database client.

It's aimed at the part of DBeaver / DataGrip / Navicat people actually use every day — look at data, edit it, filter it, run a query — plus a modern interface and a good UX.

Performance — measured on one machine (M1 Pro / 16GB / macOS); method and numbers

  • ~1s startup
  • 1,000,000 rows × 100 columns: ~11.7s
  • ~230MB idle, ~610MB peak under heavy operations

Tech

  • Electron shell, with the UI layer built in-house: tree, tree-grid, data grid, SQL parsing, schema-aware completion
  • Under 5% of the code is AI-generated; the rest is written and reviewed by hand
  • Built-in AI: chat, inline chat, fix, explain, optimize (no model included — bring your own API key)
  • ~120MB installer, database drivers bundled — nothing extra to download

Links

I'm the developer; it's a commercial product. Happy to answer anything.


r/SQL • • 16h ago

Discussion Help Ric (Fabric) and Bob (SQL) try to survive a week of data deadlines

Post image
1 Upvotes

We built a little game for fun: **Data Desk Dash**.

**Play it here:** https://fabriccon.com/data-desk-dash.html

You play as Ric, our Fabric mascot, and Bob, our SQL mascot, keeping a busy data office running for a full work week. Every desk is a quick mini-game:

- Drag SELECT, FROM and WHERE into the right order

- Rotate pipe pieces to get a pipeline flowing into OneLake

- Pick the best chart for a Power BI report

- Time your tap to rebuild an index

- Pick the last good backup before the data was lost

Along the way you'll run into deadlocks, NULL spills on the floor, an empty coffee pot, and someone running DELETE without a WHERE clause. There's also a Fabric Data Agent power-up, and a pizza delivery guy who shows up when you need him most.

It runs in your browser on desktop or phone, with no sign-up. There's a 2-player mode too, if you want to team up with a coworker on one keyboard.

When your run ends, win or lose, you'll get a code for **$100 off a Diamond, Platinum or Gold Pass** to FABCON SQLCON 2027 in Atlanta, March 8–12. Register at https://fabriccon.com/tickets

Post your best score!


r/SQL • • 21h ago

DB2 Need help on DB2 design

Thumbnail reddit.com
0 Upvotes

Problem Statement

We have a transaction history table (CARDTXNHIST) used by a banking application to display customer transactions.

​The daily batch process consists of two stages:

​Unstatemented Transactions (Code = 2)

​batch file → TEMP table → View → CARDTXNHIST

​Existing Code=2 records are deleted and refreshed

​Statemented Transactions (Code = 3)

​Separate batch file → TEMP table → View → CARDTXNHIST

​Statemented records are loaded after unstatemented processing

​The batch window runs approximately between 4 AM and 9 AM.

​Observed Issue

On statement cycle dates, the incoming unstatemented dataset may be empty because all eligible transactions have been statemented.

​As a result:

​Code=2 transactions are removed/refreshed

​Code=3 transactions are still being processed

​During this period, customers may see no transaction history in the application, even though the transactions still exist within the batch pipeline.

​Objective

We are looking for database/application architecture approaches that can eliminate or minimize this visibility gap while the batch is in progress.

​Solutions Under Consideration

​Retaining Code=2 records until Code=3 processing completes

​Shadow table / table-swap approach

​Composite views

​Deferred commit strategy

​Reading from staging/view sources during batch processing

​Data archival and performance optimization

​Other database design recommendations

​Questions

​What would be the recommended design pattern to ensure customers always see a consistent transaction history?

​How have similar large-scale batch processing systems solved this "delete-before-republish" visibility gap?

​Are there DB2-specific approaches (isolation levels, shadow tables, transition tables, view-switching, etc.) that would be suitable for this scenario?

​If you'd like to adjust the length or add any extra context (like table volume or specific DB2 version) before posting, let me know!