I would like help with the syntax of a query that will return 1 childs' record field that has the earliest date. I assume this could be done in a query.
example of tables:
tblOrder - Parent Table
OrderID - PK
OrderModel
OrderDesigner
tblFloor - Child Table (One or More instances)
FloorID - PK
OrderID - FK
FloorDueDate
FloorComplete
I would like to select the earliest due, FloorDueDate where the Floor is not complete and use it as the Parents' due date. I
I've looked at DISTINCTROW, DISTINCT and TOP and not sure how to put them together.
example of tables:
tblOrder - Parent Table
OrderID - PK
OrderModel
OrderDesigner
tblFloor - Child Table (One or More instances)
FloorID - PK
OrderID - FK
FloorDueDate
FloorComplete
I would like to select the earliest due, FloorDueDate where the Floor is not complete and use it as the Parents' due date. I
I've looked at DISTINCTROW, DISTINCT and TOP and not sure how to put them together.
Comment