| |

VerySource

 Forgot password?
 Register
Search
View: 1111|Reply: 6

How to establish the relationship between these tables in Access?

[Copy link]

1

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-6 20:10:02
| Show all posts |Read mode
Table 1 Table 2 Parameter 1 Table 3 Parameter 2 Table 4 Parameter 3 ...
Alloy Name Name Temperature Parameter 1 Value Name Temperature Parameter 2 Value
Name 1 Name 1 Temperature 1 Value 1 Name 1 Temperature 1 Value 1
Name 2 Name 1 Temperature 2 Value 2 Name 2 Temperature 2 Value 2
Name 3 Name 1 Temperature 3 Value 3 Name 2 Temperature 3 Value 3
Name 4 Name 2 Temperature 4 Value 4 etc. etc. etc.
            Name 2 Temperature Value 5
             Wait wait


The above table is a name of a parameter that changes with temperature, a table of parameter values ​​at different temperatures

I want to ask whether the primary key of these tables can be defined like this: The primary key of table 1 is the name of the alloy, and the second table ... The primary key of the table is temperature and time as the primary key.

What's more important is how to establish the relationship between these tables? When querying, you can query all the parameters of the alloy by querying the alloy name.

Troublesome XDJM can tell me, wait for it, I thanked him first
Reply

Use magic Report

0

Threads

23

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-1-18 01:54:01
| Show all posts
If there is no duplicate alloy name, you can use the alloy name as a keyword.
Reply

Use magic Report

1

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-1-25 20:45:01
| Show all posts
Thank you brothers upstairs for your reply, and please trouble guide me, how to establish the relationship between these watches?
Reply

Use magic Report

0

Threads

6

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-5-31 11:45:01
| Show all posts
What the younger brother wants to ask is whether the primary keys of these tables can be defined like this: The primary key of Table 1 is the name of the alloy, —————————————— Yes, no problem

Table two: The primary key of the table is temperature and time as the primary key. I do n’t know if this is possible or not? No, if the temperature may be repeated, you ca n’t define it like this, and create an automatic number field as the primary key.
Reply

Use magic Report

1

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-8-9 10:15:01
| Show all posts
Experts help
Reply

Use magic Report

1

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-8-9 11:00:01
| Show all posts
thank you very much
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-14 13:30:01
| Show all posts
Didn't read too well

Give each alloy a unique number

Alloy Name Name Temperature Parameter 1 Value Name Temperature Parameter 2 Value
Name 1 Name 1 Temperature 1 Value 1 Name 1 Temperature 1 Value 1

Are two different measurement plants of the same alloy at the same temperature? In this case, you can add time
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list