# Ignites - The query which is the peak of my career

- Speaker: [Shlomi Noach](/wiki/speakers/shlomi-noach.md)
- Event: [Reversim Summit 2014](/wiki/years/2014.md)
- Video: https://www.youtube.com/watch?v=CuBmC5IfOy4
- Transcript: [/transcripts/2014/36-CuBmC5IfOy4.md](/transcripts/2014/36-CuBmC5IfOy4.md)
- Language: Hebrew · Type: ignite · Level: general
- Topics: [Databases](/wiki/topics/databases.md), [Career Growth](/wiki/topics/career-growth.md), [Data Science](/wiki/topics/data-science.md), [Soft Skills](/wiki/topics/soft-skills.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

The speaker humorously presents what they playfully describe as the peak of their career: a complex SQL query that generates a pie chart directly from database data. The talk walks through the layers of the query, including running totals and custom matrices, while poking fun at over-engineered SQL solutions. Ultimately, the speaker reflects on how exploring the limits of database languages can be a fun and creative exercise, even if no one uses it in production. The audience learns not to take themselves too seriously while exploring unconventional uses of standard database tools.

## Key points

- [0:16](https://www.youtube.com/watch?v=CuBmC5IfOy4&t=16s) The speaker introduces the concept of the peak of their career, comparing complex systems to a perspective zooming out from cells to galaxies.
- [1:26](https://www.youtube.com/watch?v=CuBmC5IfOy4&t=86s) The speaker reveals the masterpiece: a single SQL query that renders a graphic pie chart based on actual table data.
- [2:29](https://www.youtube.com/watch?v=CuBmC5IfOy4&t=149s) The mechanics of the query are explained, utilizing running totals, session variables, and string aggregation to build a 2D matrix.
- [2:29](https://www.youtube.com/watch?v=CuBmC5IfOy4&t=149s) Despite presenting this revolutionary query to top tech companies, nobody in the industry actually uses it in production.
- [3:33](https://www.youtube.com/watch?v=CuBmC5IfOy4&t=213s) The speaker concludes that SQL is evolving beyond simple aggregations and joins into the realm of graphics and charts.

## Takeaways

- Explore unconventional uses of standard technologies for creative problem-solving and fun.
- Understand advanced SQL features like session variables and string aggregation for complex data manipulation.
- Balance technical depth with humor when sharing experiences with the engineering community.

## Questions this talk answers

- How can session variables be used to perform running totals in MySQL?
- Can relational databases be used effectively for data visualization and rendering graphics?
- Where is the boundary between practical database engineering and creative over-engineering?

## Technologies

MySQL, SQL, Node.js

## Tags

career growth, data visualization, databases, humor, sql
