Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a query (do NOT give me the DATA, give me the query that produces the data

ID: 3846630 • Letter: W

Question

Write a query (do NOT give me the DATA, give me the query that produces the data) that would do the following: A) Find the name and how many years employed for each employee with 5 or more years service in this Employees table: You can use the practice areas on this webpage to experiment with this table. httts://sqlbolt.com/lesson/select_queries_with_outer_joins The actual exercises on that page are different (and you do not need to be able to do them), but you can use the practice area to test your query.

Explanation / Answer

The following query works :

select name,Years_employed from Employees where Years_employed>=5;

this is achieved using relational operator on the column years_employed

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote