> ## Documentation Index
> Fetch the complete documentation index at: https://docs.synehq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Query Examples

> Natural language query examples across different industries

<Info>
  These examples show how to use natural language queries in SyneHQ across different industries and use cases. Simply type these questions into the AI query interface and let SyneHQ generate the SQL and visualizations for you.
</Info>

## Banking & Finance

<AccordionGroup>
  <Accordion title="Transaction Analysis">
    * "Show me the top 10 transactions by amount for last month"
    * "List all credit card transactions flagged as suspicious in the last 7 days"
    * "What's the average transaction value by payment method this quarter?"
    * "Find customers with unusual spending patterns compared to their history"
  </Accordion>

  <Accordion title="Customer Insights">
    * "How many new customer accounts were opened this quarter?"
    * "Which customers have the highest account balances?"
    * "Show customer acquisition trends by month for 2024"
    * "List customers who haven't made transactions in 90 days"
  </Accordion>

  <Accordion title="Revenue & Performance">
    * "Summarize revenue by product line for 2024"
    * "Compare loan approval rates between branches"
    * "What's our month-over-month growth in deposits?"
    * "Show fee income breakdown by service type"
  </Accordion>
</AccordionGroup>

## E-commerce & Retail

<AccordionGroup>
  <Accordion title="Sales Performance">
    * "Which products had the highest sales in August?"
    * "Compare average order value between weekdays and weekends"
    * "Show sales trends by category for the last 6 months"
    * "Find our best-selling products by region"
  </Accordion>

  <Accordion title="Customer Behavior">
    * "List all customers who made more than 5 purchases in the last month"
    * "What's the average time between first visit and first purchase?"
    * "Show customer lifetime value by acquisition channel"
    * "Find customers who abandoned their carts in the last week"
  </Accordion>

  <Accordion title="Inventory Management">
    * "Find inventory items with less than 10 units in stock"
    * "Which products are moving slowest this quarter?"
    * "Show warehouse utilization rates by location"
    * "List products that need to be reordered this week"
  </Accordion>
</AccordionGroup>

## Healthcare

<AccordionGroup>
  <Accordion title="Patient Management">
    * "How many appointments were scheduled last week by department?"
    * "Show trends in patient admissions by diagnosis for 2023"
    * "List patients due for follow-up appointments this month"
    * "Find patients with upcoming procedure reminders"
  </Accordion>

  <Accordion title="Operations">
    * "Find doctors with the shortest average patient wait times"
    * "Show bed occupancy rates by department"
    * "What's our patient satisfaction score by facility?"
    * "List equipment due for maintenance this quarter"
  </Accordion>

  <Accordion title="Clinical Insights">
    * "Show treatment outcomes by procedure type"
    * "Compare readmission rates between departments"
    * "Find the most common diagnoses this month"
    * "Show medication usage trends by therapeutic area"
  </Accordion>
</AccordionGroup>

## SaaS & Technology

<AccordionGroup>
  <Accordion title="User Growth">
    * "Show user growth trends over the past six months"
    * "List accounts with trial periods expiring this week"
    * "What's our monthly recurring revenue by plan type?"
    * "Find users who haven't logged in for 30 days"
  </Accordion>

  <Accordion title="Product Usage">
    * "Which features are used most frequently by enterprise customers?"
    * "Show daily active users by geographic region"
    * "Find our highest-engagement user cohorts"
    * "What's the average session duration by user type?"
  </Accordion>

  <Accordion title="Technical Performance">
    * "How many API errors occurred by endpoint in the last 24 hours?"
    * "Show application response times by service"
    * "List the most common error types this week"
    * "Find servers with highest CPU utilization"
  </Accordion>
</AccordionGroup>

## Human Resources

<AccordionGroup>
  <Accordion title="Employee Analytics">
    * "Show employee attrition rate by department"
    * "List upcoming work anniversaries for this month"
    * "Count remote vs onsite employees as of today"
    * "What's our average time-to-hire by position level?"
  </Accordion>

  <Accordion title="Performance & Engagement">
    * "Show performance review scores by team"
    * "Find employees eligible for promotion this cycle"
    * "What's our employee satisfaction score by department?"
    * "List training completion rates by program"
  </Accordion>

  <Accordion title="Workforce Planning">
    * "Show headcount trends by quarter for 2024"
    * "Find departments with the highest overtime costs"
    * "What's our diversity ratio by management level?"
    * "List open positions by priority and department"
  </Accordion>
</AccordionGroup>

## Marketing & Advertising

<AccordionGroup>
  <Accordion title="Campaign Performance">
    * "Show conversion rates by campaign for August"
    * "Summarize ad spend and ROI by channel"
    * "Which campaigns brought in the most new subscribers last week?"
    * "Compare email open rates across different segments"
  </Accordion>

  <Accordion title="Lead Generation">
    * "Show lead quality scores by source"
    * "Find our highest-converting landing pages"
    * "What's our cost per acquisition by marketing channel?"
    * "List leads that need follow-up this week"
  </Accordion>

  <Accordion title="Content Performance">
    * "Which blog posts generated the most traffic last month?"
    * "Show social media engagement rates by platform"
    * "Find our most-shared content by topic"
    * "What's our average time on page by content type?"
  </Accordion>
</AccordionGroup>

## Supply Chain & Logistics

<AccordionGroup>
  <Accordion title="Shipping & Delivery">
    * "Show shipments delayed by more than two days last quarter"
    * "Summarize number of deliveries completed by each driver"
    * "List orders currently stuck in transit"
    * "What's our on-time delivery rate by region?"
  </Accordion>

  <Accordion title="Supplier Management">
    * "Find suppliers with the best delivery performance"
    * "Show procurement costs by category this year"
    * "List overdue purchase orders by supplier"
    * "What's our supplier quality rating by vendor?"
  </Accordion>

  <Accordion title="Warehouse Operations">
    * "Show warehouse capacity utilization by location"
    * "Find the fastest-moving products this month"
    * "List items with picking accuracy below 95%"
    * "What's our average order fulfillment time?"
  </Accordion>
</AccordionGroup>

## Education

<AccordionGroup>
  <Accordion title="Student Performance">
    * "List top performing students by test scores in spring semester"
    * "Show grade distribution by course and instructor"
    * "Find students at risk based on attendance patterns"
    * "What's our graduation rate by program?"
  </Accordion>

  <Accordion title="Enrollment & Attendance">
    * "Summarize attendance by grade for the current academic year"
    * "How many students enrolled in each course last term?"
    * "Show enrollment trends by department over 5 years"
    * "List classes with the highest drop rates"
  </Accordion>

  <Accordion title="Resource Utilization">
    * "Find classrooms with the highest utilization rates"
    * "Show library book checkout trends by subject"
    * "What's our student-to-faculty ratio by department?"
    * "List equipment requests pending approval"
  </Accordion>
</AccordionGroup>

## Getting Started with AI Queries

<Info>
  Ready to try these examples? Here's how to get the best results from natural language querying in SyneHQ.
</Info>

<AccordionGroup>
  <Accordion title="Best Practices">
    * **Start simple**: Begin with basic questions about familiar data
    * **Use business terms**: Speak naturally using your industry terminology
    * **Be specific**: Include time ranges and filters for more precise results
    * **Ask follow-ups**: Build on previous queries to dive deeper
  </Accordion>

  <Accordion title="Query Tips">
    * **Time periods**: "last month", "this quarter", "past 6 months"
    * **Comparisons**: "compare", "versus", "difference between"
    * **Aggregations**: "total", "average", "count", "sum"
    * **Sorting**: "top", "highest", "lowest", "best performing"
  </Accordion>

  <Accordion title="Next Steps">
    1. **Connect your data sources** to SyneHQ
    2. **Try a simple query** from your industry examples above
    3. **Review the generated SQL** to understand what happened
    4. **Ask follow-up questions** to explore deeper
    5. **Save useful queries** for your team to reuse
  </Accordion>
</AccordionGroup>

<Card title="Start Querying Now" icon="rocket" href="https://data.synehq.com/console">
  Open the SyneHQ console and try these examples with your data
</Card>
