herbertioz
Registered User.
- Local time
- Today, 12:08
- Joined
- Nov 6, 2009
- Messages
- 66
I have two colums in a table in my database. The first one is a list of Motors and the second one a column with the Status of this motors.
For example:
ID Motors Status
1 Mot01 Installed
2 Mot01 Installed
3 Mot01 In Stock
4 Mot02 In Stock
5 Mot03 Installed
6 Mot03 Installed
7 Mot03 Installed
I want to make a query who present only one motor (if the motors has the same motorname) that has Status only "Installed".
The point is to get a list of the motors I need to order.
The result I would like to have:
Motors
Mot03
For example:
ID Motors Status
1 Mot01 Installed
2 Mot01 Installed
3 Mot01 In Stock
4 Mot02 In Stock
5 Mot03 Installed
6 Mot03 Installed
7 Mot03 Installed
I want to make a query who present only one motor (if the motors has the same motorname) that has Status only "Installed".
The point is to get a list of the motors I need to order.
The result I would like to have:
Motors
Mot03