Skip to content
Advertisement

Divide operation in SQL

I have a database in which a table employee exist as follow

i want to retrieve those last name who work on a project on which jones working

any suggestion please

Advertisement

Answer

Following should be your query –

We have not used in clause as Jones is working in one project.

If he is working in multiple projects

then query can be –

Thanks

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement