ashwinghanta
Board Regular
- Joined
- Dec 6, 2011
- Messages
- 118
Hello Everyone,
I have the following table and I want to create a table out of this
<tbody>
</tbody>
I want to use the maketable query which gives me a table like this
<tbody>
</tbody>
I have tried with the following make table SQL Query
which gives me something like this
<tbody>
</tbody>
Can someone tell me where am I going wrong in the code? Looking forward to hear from you
I have the following table and I want to create a table out of this
SYSTEM | EREIGNIS | DATUM_ZEIT | ANTRAGSNUMMER |
WL | AUS_ED | 1.1.2016 | 123 |
WL | AUS_ES | 1.2.2016 | 123 |
ZW | EIN_ED | 1.3.2016 | 123 |
ZW | EIN_ES | 1.4.2016 | 123 |
WL | AUS_ED | 1.5.2016 | 222 |
WL | AUS_ES | 1.6.2016 | 222 |
<tbody>
</tbody>
I want to use the maketable query which gives me a table like this
ANTRAGSNUMMER | AusgangDatenstromWebLife | AusgangesigniertWebLife | EingangeDatenstromzworkflow | Ausgangesigniertzworkflow |
123 | 1.1.2016 | 1.2.2016 | 1.3.2016 | 1.4.2016 |
222 | 1.5.2016 | 1.6.2016 |
<tbody>
</tbody>
I have tried with the following make table SQL Query
Code:
SELECT VWDRSSTA.ANTRAGSNUMMER AS Antragsnummer, VWDRSSTA.DATUM_ZEIT AS AusgangDatenstromWebLife, VWDRSSTA.DATUM_ZEIT AS AusgangesigniertWebLife, VWDRSSTA.DATUM_ZEIT AS EingangeDatenstromzworkflow, VWDRSSTA.DATUM_ZEIT AS Ausgangesigniertzworkflow FROM VWDRSSTA WHERE (VWDRSSTA.SYSTEM ='WL' AND VWDRSSTA.EREIGNIS='AUS_ED') OR (VWDRSSTA.SYSTEM ='WL' AND VWDRSSTA.EREIGNIS='AUS_ES') OR (VWDRSSTA.SYSTEM ='ZW' AND VWDRSSTA.EREIGNIS='EIN_ED') OR (VWDRSSTA.SYSTEM ='ZW' AND VWDRSSTA.EREIGNIS='EIN_ES')
which gives me something like this
ANTRAGSNUMMER | AusgangDatenstromWebLife | AusgangesigniertWebLife | EingangeDatenstromzworkflow | Ausgangesigniertzworkflow |
123 | 1.1.2016 | 1.1.2016 | 1.1.2016 | 1.1.2016 |
222 | 1.2.2016 | 1.2.2016 | 1.2.2016 |
<tbody>
</tbody>
Can someone tell me where am I going wrong in the code? Looking forward to hear from you