[英]How do I combine multiple rows into one row in the same table but with different columns?
First up, my goal is that some job applicant should be able to upload some files and then submit the application.首先,我的目标是一些求职者应该能够上传一些文件,然后提交申请。 A HR person in the company should be able to then export the data and the files.
公司的人力资源人员应该能够导出数据和文件。
Basically, I have one table with the data from some job applications (Name, Email etc.).基本上,我有一张表,其中包含一些工作申请(姓名、电子邮件等)的数据。
ApplicantID![]() |
Name![]() |
Email![]() |
Column 3![]() |
||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 ![]() |
Foo![]() |
Bar![]() |
Yo![]() |
||||||||||||||||||||||||||||||
2 ![]() |
Foo![]() |
Bar![]() |
Yo![]() |
||||||||||||||||||||||||||||||
3 ![]() |
Foo![]() |
Bar![]() |
Yo![]() I have another table with the relative paths and the file names of some files the applicant has uploaded.
|
您可以使用JOIN<\/strong>连接三个表并获得所需的列....但请确保在设计表时遵循规范化
"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.