Skip to content
Advertisement

Tag: ms-access

how to get a record based on max date for each user in different multiple tables

I’m trying to make a query that can select the names, DateOfSpecimenResult,SwabResult,DateOfReleaseOfResult. Heres the Visual Representation: Table: ContactTracingHeader Table: Swab Note: ContactTracingHeader.AutoID = Swab.PatientNo Table: SwabResult Query Output that I’m trying to make Note: Swab.ResultID = SwabResult.AutoID Here, I’m only trying to show a Name with the latest DateOfSpecimenCollection and then use it as a reference for the 2 other

Calculating avg time of activity in the morning

I am creating a query to keep track of students’ activity at school on MS Acces 2010. And I have a table as follows: My current attempt on getting the duration But I am not sure how to write the #(= 3Hours / Total number of AM per person per day) part in SQL. Any help is appreciated. Answer Try

Subquery sorted by another table

This is a follow-up question to Get the following record in query. But the task is a bit more complicated. I tried to modify the SQL query but I was not able to fulfill the task. If we have two tables,…

MSAccess subdatasheet

I have an Access query, listing invoices and related items in subdatasheet: The problem, that invoices without items not shown: How can I manage to display all the rows from OutgoingInvoice (even if they do not have joined subitem) Answer

Data Joining of two Tables MS Access SQL

I have two tables named – 1) Students 2) Classes. ClassID is Primary Key of Classes table and Foreign Key of Students Table. I want to access one row from the Students table having specfic RollNo (This RollNo is given by user input) and all rows from Classes Table. Students Table is given as:- RollNo is Primary Key. And Last

How can I avoid duplicates accross multiple columns in access?

My question is pretty simple, yet I am unable to find the answer I need. I have an access database with a table called coaches. I have another table called teams, which can have a coach and assistant coach. I need to be able to allow no duplicates across the “Coach” and “Assistant Coach” Fields. Coaches can be both head

Advertisement