Natural Language Description
stringclasses
10 values
Cypher Query
stringclasses
10 values
Find the total number of projects each employee is working on.
MATCH (e:Employee)-[:WORKS_ON]->(p:Project) RETURN e.name, COUNT(p) as project_count
List employees who do not work on any project.
MATCH (e:Employee) WHERE NOT (e)-[:WORKS_ON]->(:Project) RETURN e.name
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
List all projects that have more than 3 employees working on them.
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee) WITH p, COUNT(e) as employee_count WHERE employee_count > 3 RETURN p.name
Retrieve the average salary of employees in the Sales department.
MATCH (e:Employee)-[:WORKS_IN]->(d:Department) WHERE d.name = 'Sales' RETURN AVG(e.salary)
What is the name of the employee with the highest salary?
MATCH (e:Employee) RETURN e.name ORDER BY e.salary DESC LIMIT 1
Find the total number of projects each employee is working on.
MATCH (e:Employee)-[:WORKS_ON]->(p:Project) RETURN e.name, COUNT(p) as project_count
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
What is the total budget allocated across all projects?
MATCH (p:Project) RETURN SUM(p.budget) as total_budget
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
What is the name of the employee with the highest salary?
MATCH (e:Employee) RETURN e.name ORDER BY e.salary DESC LIMIT 1
Retrieve the average salary of employees in the Sales department.
MATCH (e:Employee)-[:WORKS_IN]->(d:Department) WHERE d.name = 'Sales' RETURN AVG(e.salary)
List employees who do not work on any project.
MATCH (e:Employee) WHERE NOT (e)-[:WORKS_ON]->(:Project) RETURN e.name
Find the total number of projects each employee is working on.
MATCH (e:Employee)-[:WORKS_ON]->(p:Project) RETURN e.name, COUNT(p) as project_count
Find the total number of projects each employee is working on.
MATCH (e:Employee)-[:WORKS_ON]->(p:Project) RETURN e.name, COUNT(p) as project_count
Which employees joined the company after 2015?
MATCH (e:Employee) WHERE e.joining_year > 2015 RETURN e.name
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
What is the total budget allocated across all projects?
MATCH (p:Project) RETURN SUM(p.budget) as total_budget
Retrieve the average salary of employees in the Sales department.
MATCH (e:Employee)-[:WORKS_IN]->(d:Department) WHERE d.name = 'Sales' RETURN AVG(e.salary)
Which employees joined the company after 2015?
MATCH (e:Employee) WHERE e.joining_year > 2015 RETURN e.name
List employees who do not work on any project.
MATCH (e:Employee) WHERE NOT (e)-[:WORKS_ON]->(:Project) RETURN e.name
Which employees joined the company after 2015?
MATCH (e:Employee) WHERE e.joining_year > 2015 RETURN e.name
List employees who do not work on any project.
MATCH (e:Employee) WHERE NOT (e)-[:WORKS_ON]->(:Project) RETURN e.name
Which employees joined the company after 2015?
MATCH (e:Employee) WHERE e.joining_year > 2015 RETURN e.name
What is the total budget allocated across all projects?
MATCH (p:Project) RETURN SUM(p.budget) as total_budget
Find the total number of projects each employee is working on.
MATCH (e:Employee)-[:WORKS_ON]->(p:Project) RETURN e.name, COUNT(p) as project_count
List all projects that have more than 3 employees working on them.
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee) WITH p, COUNT(e) as employee_count WHERE employee_count > 3 RETURN p.name
What is the name of the employee with the highest salary?
MATCH (e:Employee) RETURN e.name ORDER BY e.salary DESC LIMIT 1
Which employees joined the company after 2015?
MATCH (e:Employee) WHERE e.joining_year > 2015 RETURN e.name
List all departments where more than 5 employees work.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) WITH d, COUNT(e) as employee_count WHERE employee_count > 5 RETURN d.name
What is the total budget allocated across all projects?
MATCH (p:Project) RETURN SUM(p.budget) as total_budget
Which employees joined the company after 2015?
MATCH (e:Employee) WHERE e.joining_year > 2015 RETURN e.name
Which projects have employees from multiple departments working on them?
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee)-[:WORKS_IN]->(d:Department) WITH p, COLLECT(DISTINCT d.name) as departments WHERE SIZE(departments) > 1 RETURN p.name
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
List employees who do not work on any project.
MATCH (e:Employee) WHERE NOT (e)-[:WORKS_ON]->(:Project) RETURN e.name
Which projects have employees from multiple departments working on them?
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee)-[:WORKS_IN]->(d:Department) WITH p, COLLECT(DISTINCT d.name) as departments WHERE SIZE(departments) > 1 RETURN p.name
Which employees joined the company after 2015?
MATCH (e:Employee) WHERE e.joining_year > 2015 RETURN e.name
Which projects have employees from multiple departments working on them?
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee)-[:WORKS_IN]->(d:Department) WITH p, COLLECT(DISTINCT d.name) as departments WHERE SIZE(departments) > 1 RETURN p.name
What is the total budget allocated across all projects?
MATCH (p:Project) RETURN SUM(p.budget) as total_budget
List employees who do not work on any project.
MATCH (e:Employee) WHERE NOT (e)-[:WORKS_ON]->(:Project) RETURN e.name
List all departments where more than 5 employees work.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) WITH d, COUNT(e) as employee_count WHERE employee_count > 5 RETURN d.name
Retrieve the average salary of employees in the Sales department.
MATCH (e:Employee)-[:WORKS_IN]->(d:Department) WHERE d.name = 'Sales' RETURN AVG(e.salary)
List all projects that have more than 3 employees working on them.
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee) WITH p, COUNT(e) as employee_count WHERE employee_count > 3 RETURN p.name
List all projects that have more than 3 employees working on them.
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee) WITH p, COUNT(e) as employee_count WHERE employee_count > 3 RETURN p.name
What is the name of the employee with the highest salary?
MATCH (e:Employee) RETURN e.name ORDER BY e.salary DESC LIMIT 1
What is the total budget allocated across all projects?
MATCH (p:Project) RETURN SUM(p.budget) as total_budget
List all departments where more than 5 employees work.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) WITH d, COUNT(e) as employee_count WHERE employee_count > 5 RETURN d.name
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
Find the total number of projects each employee is working on.
MATCH (e:Employee)-[:WORKS_ON]->(p:Project) RETURN e.name, COUNT(p) as project_count
Find the total number of projects each employee is working on.
MATCH (e:Employee)-[:WORKS_ON]->(p:Project) RETURN e.name, COUNT(p) as project_count
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
What is the total budget allocated across all projects?
MATCH (p:Project) RETURN SUM(p.budget) as total_budget
List all projects that have more than 3 employees working on them.
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee) WITH p, COUNT(e) as employee_count WHERE employee_count > 3 RETURN p.name
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
Find the total number of projects each employee is working on.
MATCH (e:Employee)-[:WORKS_ON]->(p:Project) RETURN e.name, COUNT(p) as project_count
Which projects have employees from multiple departments working on them?
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee)-[:WORKS_IN]->(d:Department) WITH p, COLLECT(DISTINCT d.name) as departments WHERE SIZE(departments) > 1 RETURN p.name
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
List all projects that have more than 3 employees working on them.
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee) WITH p, COUNT(e) as employee_count WHERE employee_count > 3 RETURN p.name
Find the total number of projects each employee is working on.
MATCH (e:Employee)-[:WORKS_ON]->(p:Project) RETURN e.name, COUNT(p) as project_count
Which employees joined the company after 2015?
MATCH (e:Employee) WHERE e.joining_year > 2015 RETURN e.name
Which projects have employees from multiple departments working on them?
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee)-[:WORKS_IN]->(d:Department) WITH p, COLLECT(DISTINCT d.name) as departments WHERE SIZE(departments) > 1 RETURN p.name
List employees who do not work on any project.
MATCH (e:Employee) WHERE NOT (e)-[:WORKS_ON]->(:Project) RETURN e.name
Retrieve the average salary of employees in the Sales department.
MATCH (e:Employee)-[:WORKS_IN]->(d:Department) WHERE d.name = 'Sales' RETURN AVG(e.salary)
What is the total budget allocated across all projects?
MATCH (p:Project) RETURN SUM(p.budget) as total_budget
List all projects that have more than 3 employees working on them.
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee) WITH p, COUNT(e) as employee_count WHERE employee_count > 3 RETURN p.name
List all projects that have more than 3 employees working on them.
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee) WITH p, COUNT(e) as employee_count WHERE employee_count > 3 RETURN p.name
Retrieve the average salary of employees in the Sales department.
MATCH (e:Employee)-[:WORKS_IN]->(d:Department) WHERE d.name = 'Sales' RETURN AVG(e.salary)
Which projects have employees from multiple departments working on them?
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee)-[:WORKS_IN]->(d:Department) WITH p, COLLECT(DISTINCT d.name) as departments WHERE SIZE(departments) > 1 RETURN p.name
Find the total number of projects each employee is working on.
MATCH (e:Employee)-[:WORKS_ON]->(p:Project) RETURN e.name, COUNT(p) as project_count
What is the total budget allocated across all projects?
MATCH (p:Project) RETURN SUM(p.budget) as total_budget
Which projects have employees from multiple departments working on them?
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee)-[:WORKS_IN]->(d:Department) WITH p, COLLECT(DISTINCT d.name) as departments WHERE SIZE(departments) > 1 RETURN p.name
Which projects have employees from multiple departments working on them?
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee)-[:WORKS_IN]->(d:Department) WITH p, COLLECT(DISTINCT d.name) as departments WHERE SIZE(departments) > 1 RETURN p.name
List all departments where more than 5 employees work.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) WITH d, COUNT(e) as employee_count WHERE employee_count > 5 RETURN d.name
List all projects that have more than 3 employees working on them.
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee) WITH p, COUNT(e) as employee_count WHERE employee_count > 3 RETURN p.name
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
What is the total budget allocated across all projects?
MATCH (p:Project) RETURN SUM(p.budget) as total_budget
Find the total number of projects each employee is working on.
MATCH (e:Employee)-[:WORKS_ON]->(p:Project) RETURN e.name, COUNT(p) as project_count
List all projects that have more than 3 employees working on them.
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee) WITH p, COUNT(e) as employee_count WHERE employee_count > 3 RETURN p.name
Retrieve the average salary of employees in the Sales department.
MATCH (e:Employee)-[:WORKS_IN]->(d:Department) WHERE d.name = 'Sales' RETURN AVG(e.salary)
Which projects have employees from multiple departments working on them?
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee)-[:WORKS_IN]->(d:Department) WITH p, COLLECT(DISTINCT d.name) as departments WHERE SIZE(departments) > 1 RETURN p.name
What is the name of the employee with the highest salary?
MATCH (e:Employee) RETURN e.name ORDER BY e.salary DESC LIMIT 1
What is the name of the employee with the highest salary?
MATCH (e:Employee) RETURN e.name ORDER BY e.salary DESC LIMIT 1
What is the name of the employee with the highest salary?
MATCH (e:Employee) RETURN e.name ORDER BY e.salary DESC LIMIT 1
Which projects have employees from multiple departments working on them?
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee)-[:WORKS_IN]->(d:Department) WITH p, COLLECT(DISTINCT d.name) as departments WHERE SIZE(departments) > 1 RETURN p.name
Which employees joined the company after 2015?
MATCH (e:Employee) WHERE e.joining_year > 2015 RETURN e.name
List employees who do not work on any project.
MATCH (e:Employee) WHERE NOT (e)-[:WORKS_ON]->(:Project) RETURN e.name
Retrieve the average salary of employees in the Sales department.
MATCH (e:Employee)-[:WORKS_IN]->(d:Department) WHERE d.name = 'Sales' RETURN AVG(e.salary)
List employees who do not work on any project.
MATCH (e:Employee) WHERE NOT (e)-[:WORKS_ON]->(:Project) RETURN e.name
Which projects have employees from multiple departments working on them?
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee)-[:WORKS_IN]->(d:Department) WITH p, COLLECT(DISTINCT d.name) as departments WHERE SIZE(departments) > 1 RETURN p.name
Retrieve the average salary of employees in the Sales department.
MATCH (e:Employee)-[:WORKS_IN]->(d:Department) WHERE d.name = 'Sales' RETURN AVG(e.salary)
What is the total budget allocated across all projects?
MATCH (p:Project) RETURN SUM(p.budget) as total_budget
What is the name of the employee with the highest salary?
MATCH (e:Employee) RETURN e.name ORDER BY e.salary DESC LIMIT 1
Find the department with the highest average employee salary.
MATCH (d:Department)<-[:WORKS_IN]-(e:Employee) RETURN d.name, AVG(e.salary) as avg_salary ORDER BY avg_salary DESC LIMIT 1
Find the total number of projects each employee is working on.
MATCH (e:Employee)-[:WORKS_ON]->(p:Project) RETURN e.name, COUNT(p) as project_count
List all projects that have more than 3 employees working on them.
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee) WITH p, COUNT(e) as employee_count WHERE employee_count > 3 RETURN p.name
What is the total budget allocated across all projects?
MATCH (p:Project) RETURN SUM(p.budget) as total_budget
List all projects that have more than 3 employees working on them.
MATCH (p:Project)<-[:WORKS_ON]-(e:Employee) WITH p, COUNT(e) as employee_count WHERE employee_count > 3 RETURN p.name
README.md exists but content is empty.
Downloads last month
30