I have a table like below:
| type_id | date | order | 
|---|---|---|
| 20 | 2021-06-23 | 123 | 
| 20 | 2021-06-23 | 217 | 
| 35 | 2021-06-23 | 121 | 
| 35 | 2021-06-24 | 128 | 
| 20 | 2021-06-24 | 55 | 
| 35 | 2021-06-25 | 77 | 
| 20 | 2021-06-26 | 72 | 
| 20 | 2021-06-26 | 71 | 
and want to create a query only where type_id=20 likie this:
| 2021-06-23 | 2021-06-24 | 2021-06-25 | 2021-06-25 | 
|---|---|---|---|
| 123 | 55 | 72 | |
| 217 | 71 | 
- is it possible to do this with sql without vba?
- if vba needed do I need to create a extra table and every time add/delete a new columns ?
Thnak You for any idea
 
    