cover image

Learn how Rails polymorphic associations work under the hood, from database schema to model setup, with clear examples for JavaScript developers new to ActiveRecord.

cover image

#60: Break Into Google Spanner Architecture (5 Minutes)

cover image

SQL tips and tricks.

cover image

While both WHERE and HAVING are used for filtering rows, condition in WHERE clause is applied before grouping of data and condition on HAVING is applied after grouping

cover image
Using window functions for advanced data analysis
15 Apr 2024
datasciencecentral.com

Window functions are an advanced feature of SQL that provides powerful tools for detailed data analysis and manipulation without grouping data into single output rows, which is common in aggregate functions.

cover image
sqlite-schema-diagram
28 Mar 2024
gitlab.com

GitLab.com

cover image
Happy New Year: GPT in 500 lines of SQL
5 Mar 2024
explainextended.com

A complete GPT2 implementation as a single SQL query in PostgreSQL.

SQL for Data Scientists in 100 Queries
15 Feb 2024
gvwilson.github.io
cover image

Introduction: Losing or forgetting the MySQL root password can be a stressful situation, but don't...

Joins 13 Ways
23 Jul 2023
justinjaffray.com
cover image
Meet LMQL: An Open Source Query Language for LLMs
23 Jul 2023
thesequence.substack.com

Developed by ETH ZĂĽrich, the language explores new paradigms for LLM programming.

cover image
I Don't Need Your Query Language
18 Jun 2023
antonz.org

Seriously, I don't. I'd prefer SQL.

cover image

Intro Hello guys! Today I try to write about how to start using psql in Terminal app,...

Built-In Scalar SQL Functions
14 Apr 2023
sqlite.org
cover image

Recursive queries are a straightforward solution to querying hierarchical trees. However, one loop in the relationship references results in a failing or never ending query when cycle detection is not used.

cover image
3 Essential SQL Optimization Techniques
5 Apr 2023
towardsdatascience.com

Simple hacks to try before moving to a different data model altogether

cover image

The QUALIFY clause is pure syntactic sugar

cover image
5 Must-Know SQL Techniques Beyond the Basics
13 Mar 2023
towardsdatascience.com

Speed up your SQL learning curve.

cover image

Data is naturally at the heart of the job of a data scientist or data analyst. You can get your...

cover image

SQL (Structured Query Language) is a programming language used to manage and manipulate relational...

cover image
10 Essential SQL Commands for Data Science
20 Oct 2022
kdnuggets.com

Learn SQL commands for filtering, string operations, alias, joining tables, if-else statements, and grouping.

Wesley Aptekar-Cassels | Consider SQLite
29 Apr 2022
blog.wesleyac.com
cover image
How To Create a SQL Practice Database with Python
26 Mar 2022
towardsdatascience.com

Finally, start practicing SQL with your own database

cover image

Databases are the houses of our data and data scientists HAVE TO HAVE A KEY! In this article, I discuss some lesser known concepts of SQL that data scientists do not familiarize themselves with.

cover image

Use these simple techniques to make your analysis and data extracts easier

cover image

Bringing it back to the basics

cover image
Creating Conditional Statements in SQL Queries
7 Dec 2021
towardsdatascience.com

A Quick Guide to the IF, CASE, and IFNULL Statements

cover image
SQL Basics Cheat Sheet
26 Nov 2021
learnsql.com

This 2-page SQL Basics Cheat Sheet will be a great value for beginners as well as for professionals. Download it in PDF or PNG format.

cover image
How to build a search engine with Ruby on Rails
1 Oct 2021
blog.testdouble.com

Implementing search in your Rails app can be vexing. Here's a great pattern to use that combines the best parts of ActiveRecord and Postgres.

This is a chronicle of my experiment where I set out to insert 1B rows in SQLite

cover image
Advanced SQL operations
26 Jun 2021
towardsdatascience.com

Reviewing more advanced SQL operations to extract additional data insights from the Irish Weather dataset.

Ask HN: What is the SQLite of nosql databases?
13 Jun 2021
news.ycombinator.com
cover image
3 Must-Know SQL Functions For Efficient Data Analysis
5 Jun 2021
towardsdatascience.com

SQL is a programming language used by relational database management systems. It provides numerous functions and methods that operate on the data stored in relational databases. SQL is not just a…

Are you a NoSQL beginner, but want to become a NoSQL Know-It-All? Well, this is the place for you. Get up to speed on NoSQL technologies from a beginner's point of view, with this collection of related progressive posts on the subject. NoSQL? No problem!

cover image
Tricks for Advanced SQL Querying
12 May 2021
towardsdatascience.com

One of the most valuable technical skills I use working on a data science team in the retail space is SQL…

cover image

To explore SQLite along with Python, which is a user-friendly and no-nonsense language, we are going...

cover image
How to Use SQL RANK and DENSE_RANK Functions
25 Apr 2021
towardsdatascience.com

If you’ve been practicing your SQL religiously, like I suggested in Top Skills to Ace Every SQL Interview Question, then you’ve probably…

cover image

The ultimate set of SQLite extensions.

cover image

Here is why SQLite is a perfect tool for you - whether you are a developer, data analyst, or geek.

The last SQL guide for data analysis you'll need! OK, maybe it’s actually the first, but it’ll give you a solid head start.

cover image

Historically speaking, processing large amounts of structured data has been the domain of relational databases. Databases, consisting of tables that can be joined together or aggregated…

cover image

Dolt – Git for Data.

cover image
4 Advanced SQL Features You Haven’t Used Enough
3 Nov 2020
towardsdatascience.com

From the power of hierarchical queries to that of procedural constructs in SQL

cover image
SQL Joins
21 Jul 2020
reddit.com

521 votes, 27 comments. 411K subscribers in the computerscience community. The hot spot for CS on reddit.

cover image
MongoDB Vs SQL
19 May 2020
towardsdatascience.com

MongoDB and SQL databases are two polar opposite sides of the backend world. The former deals with chaotic unstructured data, while the…

cover image
Learning SQL the Hard Way - MLWhiz
15 May 2020
mlwhiz.com

This post is about installing SQL, explaining SQL and running SQL.

cover image
SQL Query Cheatsheet for Postgres
19 Apr 2020
towardsdatascience.com

The SQL queries I use as a data scientist and software engineer

6 SQL Tricks Every Data Scientist Should Know
19 Apr 2020
towardsdatascience.com
cover image

I'm re-installing MySQL (5.7.29) for Ubuntu Linux 18.04 LTS. I installed the package using apt & started the service without issue. I was not asked for a root password during the install and am...

cover image
Doing a SQL join with CSV files with xsv
19 Feb 2020
johndcook.com

How to combine data spread over two CSV files, like separate tables in a normalized relational database.

cover image

In this new chapter, we are going to show the following examples in a local SQL Server using SQL Server command line (sqlcmd).

cover image

A command-line client for SQL Server with auto-completion and syntax highlighting - dbcli/mssql-cli