If I have my Marklogic database setup and there are thousands of sessions in 
the DB, each session looks something like this:

 

<item>

   <name></name>

   <addr></addr>

   <date></date>

   <size></size>

   <score></score>

   <id></id>

</item>


I want to write a query that goes through the entire database and uses the 
following criteria

name, addr, date to give me all the duplicate entries in the DB. I want to keep 
3 sessions for each month for each name/addr. How can I fashion a query that 
helps me to do this ?

 

Tony Mariella

Raytheon Company


 


 


                                          
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to