Question: I have two separate data tables that a sql query needs to pull data out of . The first table is called Collection _ Details
I have two separate data tables that a sql query needs to pull data out of
The first table is called CollectionDetails and contains a TextEntry column and a CollectionID column. The text entry column contains the names of completed text entry forms and the CollectionID column contains unique ID numbers generated each time a text entry form has data entered into it
The second table is called SampleDetails and contains a CollectionID TextEntry, Value and PerformedDate columns. The CollectionID column contains the unique IDs generated from the CollectionDetails table. The TextEntry column contains units of the type of entry that was being recorded and the Value column contains what was inputted for that entry. The PerformedDate Column marks when the entry form was completed.
The sql query needs to have a search field for the TextEntry column from the CollectionDetails table. The TextEntry names that will be searched for are GummyWorm, GummyBear, Taffy Based on the name searched for in the TextEntry column, the query needs to pull out each associated ID number generated from the CollectionID column. It then needs to take those CollectionID numbers and search for them in the SampleDetails table Returning the values from the TextEntry, Value and PerformedDate Columns. Data returned should be ordered by most recent performed date to least recent.
Thank you for the help
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
