Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 11:18 on June 26, 2006


Join on the issue

Join the two documents can be classified based on the key fields into a document,
I would like to ask a question, the two documents to determine if a line can only record would be linked to join ah?
Sample :

File1
Department id name addree
File2
Id information department
Id is for the plots under the same department, the department must be, id is the only key assignment;
This is very easy to achieve in the database, I want to know whether it can achieve join?

Join on the issue

Join 2 1 1,2 1,2 file file2

Join on the issue

Ah wrong, and this generation is set ah, ah, I want the converging

Join on the issue

[code]join -1 1 -2 1 ab[/code]
Output also includes a and b, the same as the first field trip

Join on the issue

I understand the problem appears to be a mistake
What I want to know is for the two documents, the same line can be combined with a record
Join with his party on the same field I know ah



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com