I will write, fix and optimize sql queries for mysql, postgresql, sql server

United States

I speak English

Microsoft 365, email, data and SQL fixes

I fix the technical problems small businesses get stuck on: Microsoft 365 and email setup (scan-to-email, SMTP, SPF/DKIM/DMARC, mail going to spam), SQL queries that are slow or broken (MySQL, Postgre...
About this Gig

Need numbers out of your database fast? Send me your schema (or a sample export) and the question, and I'll send back clean, commented SQL that runs.


What I do:

  • SELECT queries, JOINs, CTEs, window functions (RANK, LAG, NTILE)
  • Reporting: monthly revenue, top customers, cohort retention, RFM segments, funnels
  • Views, stored procedures and functions
  • Fixing broken or wrong queries
  • Speeding up slow queries (indexes, EXPLAIN plan review, rewrites)
  • Excel/CSV to SQL imports and data cleanup

Databases: MySQL, PostgreSQL, SQL Server (T-SQL), SQLite, BigQuery, Snowflake.


Every order includes:

  • A .sql file with comments explaining each step
  • A test run on a copy of your data or sample, plus the result CSV
  • Notes on indexes when speed matters

See the gallery for a real sample: a 400-customer shop database with revenue growth, LTV ranking, RFM segments and cohort retention, each query running in under 10 ms.


No calls needed. Message me your schema and question before ordering and I'll confirm scope and price.


Database type:

Relational database

Platform:

MySQL

•

PostgreSQL

•

SQLite

•

SQL Server

Expertise:

SQL

•

DQL

•

Performance

•

Query optimization