Skip to content

Instantly share code, notes, and snippets.

@javabuddy
Last active June 25, 2020 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save javabuddy/b4b511cbac85b08696a758095b9a654a to your computer and use it in GitHub Desktop.
Save javabuddy/b4b511cbac85b08696a758095b9a654a to your computer and use it in GitHub Desktop.
SELECT e.emp_id, e.emp_name, d.dept_name, p.project_name from Employee e
INNER JOIN Department d ON e.dept_id = d.dept_id INNER JOIN Projects p
ON e.project_id = p.project_id Where d.dept_name="finance" and e.emp_name
like '%A%' and e.salary > 5000;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment