dates of holidays

D

Database User

Hello

I am creating a database for a college. I have a Table containing all the
dates of the terms. the fields are

Term Id - autonumber
Term Description - Spring, Summer, Autumn Winter.
Term Start Date - date
Term End Date - date

i now need to create a list of the holidays i.e a table showing beginning
date of holiday to end date of holiday.

So what i need is the end date of the spring term and alongside that the
beginning date of the summer term etc.
so i need the end date of one record and the beginning date of the next
record after that.
how do i do this - what is the code
thanks for all your help!!
 
D

Database User

Hi

I think i'm on the right track but i just want to ask you something.
what does it mean that you have to create a duplicate table and alias it?

thanks so much for all your help
 
A

Allen Browne

You don't have to create another copy of the table.

You just have two instances of it in your query, and so you have to name the
2nd copy differently.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top