> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt # SQL tutorials - Docs Copy page # SQL tutorials - Docs Got a question which isn't answered below? Head to [the community forum](/questions.md) to let us know! > Check [our product analytics tutorials](/docs/product-analytics/tutorials.md) for more information about analyzing events. ## Examples - [How to do time-based breakdowns (hour, minute, real time) in HogQL](/tutorials/time-breakdowns.md) - [The power of SQL's sum() aggregation](/tutorials/hogql-sum-aggregation.md) - [Using SQL for advanced time and date filters](/tutorials/hogql-date-time-filters.md) - [Using SQL for advanced breakdowns](/tutorials/hogql-breakdowns.md) - [How to filter and breakdown arrays with SQL](/tutorials/array-filter-breakdown.md) - [How to use Recharts to visualize analytics data](/tutorials/recharts.md) - [How to use React Charts to visualize analytics data (with examples)](/tutorials/react-charts.md) ## Analyzing events - [How to analyze autocapture events with SQL](/tutorials/hogql-autocapture.md) - [How to analyze first and last touch attribution](/tutorials/first-last-touch-attribution.md) - [How to calculate time on page with SQL](/tutorials/time-on-page.md) - [How to calculate bounce rates with SQL](/tutorials/bounce-rate.md) ### Still have questions? Ask PostHog AI ### Was this page useful? HelpfulCould be better