Write the following query in XQuery.

Consider a employee management database which maintains entries for employees in a company. Employees may be programmers , managers, designers and testers. Appropriate information is to be maintained for each employee along with theirs address, salary ,etc (you can make any other reasonable assumptions)

i) Give the DTD for the XML schema for the described system.

ii) Write the following query in XQuery.

Find programmers who have worked in projects coding at least two different languages in one year.”

Please log in to add an answer.