0

hi,

i have in a table"visitdate1, visitdate2, visitdate3 and visitdate4"
i also have in this table address fields of "housenumber, street, city, zip"

i want to run a query which shows me the amount of visits to a house. should these be stored in different tables?

thanks

2
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by smantscheff
0

This looks like a somewhat awkward table setup. You'd better have one table for visitdates and one for addresses.

0

thanks, i did think of this however i was unsure how i would impliment this. think you maybe right though.

0

i have now changed this, and store the visits in a seperate table.

so in the first table i just store the first date of visit then any other visits in the visits table.

question is what query (join) would i use to determine what jobs were done and completed on fisrt visit? so the id wont be present from the jobs table in the visits table?

thanks

0

Why don't your store all visits in the visit table? Why do you store the first visit date separate from the others? How do you store jobs? Show the table structure of those tables.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.