SQL Server 2008 query -


I am trying to apply the version of data

I have two table clients and addresses I have to display in the UI, with different updates in which they were created but with the correct client version

,

  client table address table ------ ---- ---------- Customer Edition modified date address version modified date cv1t1 avi1t2cv2t4av2t3cv3t5  

My result should be CV1 AV1 (first edition) CV1 AV2 (as was updated on AV1T3) CV2 AV2 (as client client on C4 on T4 CV3 AV2 (as the customer has been updated on T5)

This is not correct, but you can try a union subquery, select something like:

  Select Client Virus, AddressVersion, Modify FROM (Client Virus Select this, tap in the form of address, select all from the date of the modification from client unions, client warson, address, address from revised date) modified by order ASC  

A result like your Sample data should come back from:

  Client warsen address version modidate date cv1t1 av1t2 av2t3cv2t4cv3t5  

Then you can fill Client Warson with the first row from the application May include.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -