S
Shell
Hello...I would appreciate any help. I have database that I am creating and
one of the tables contains SessionId (unique), StartDate, and an EndDate.
This data comes from a data logger. There is also another table connected to
this table that records a sound code at night, and a date if sounds were
heard (within those session dates). However...if there was no sound...then
that date does not get input. What I would like to see is an output of all
the dates (from the StartDate to the EndDate for each session), whether or
not there was a sound or not. How do I generate a populate a table/query
with this? Stumped! I put an example of what I would like to see at the
bottom
SessionId StartDate EndDate
001 02/11/2010 02/16/2010
002 02/23/2010 02/27/2010
003 03/03/2010 03/13/2010
UniqueTWId SessionId Date SoundCode
45 001 02/11/2010 A
46 001 02/15/2010 D
47 002 02/24/2010 A
48 002 02/25/2010 E
49 002 02/26/2010 Z
50 003 03/05/2010 A
What I would like is some like this (ex. Session 001 only)
SessionId Date SoundCode
001 02/11/2010 A
001 02/12/2010 Null
001 02/13/2010 Null
001 02/14/2010 Null
001 02/15/2010 D
one of the tables contains SessionId (unique), StartDate, and an EndDate.
This data comes from a data logger. There is also another table connected to
this table that records a sound code at night, and a date if sounds were
heard (within those session dates). However...if there was no sound...then
that date does not get input. What I would like to see is an output of all
the dates (from the StartDate to the EndDate for each session), whether or
not there was a sound or not. How do I generate a populate a table/query
with this? Stumped! I put an example of what I would like to see at the
bottom
SessionId StartDate EndDate
001 02/11/2010 02/16/2010
002 02/23/2010 02/27/2010
003 03/03/2010 03/13/2010
UniqueTWId SessionId Date SoundCode
45 001 02/11/2010 A
46 001 02/15/2010 D
47 002 02/24/2010 A
48 002 02/25/2010 E
49 002 02/26/2010 Z
50 003 03/05/2010 A
What I would like is some like this (ex. Session 001 only)
SessionId Date SoundCode
001 02/11/2010 A
001 02/12/2010 Null
001 02/13/2010 Null
001 02/14/2010 Null
001 02/15/2010 D