Aeries related tables are joined through common fields and some tables are joined to a number of different tables. On the left side the TN field in TCH links to the CU field in STU as one-to-many. So every record in TCH may have multiple records in STU, since multiple students can be assigned to one teacher.
Using Multiple Tables
Queries using multiple tables require that all fields selected be qualified with the table name in front of the field, e.g., STU.SN, TCH.TE, etc. The Special Education module utilizes various tables to store data involving Services, Discipline, and Alternate Assessment with the CSE table linking these tables with the STU table.
Related Tables in Aeries
Aeries Query displays related tables in the Tables column. The list of tables will change each time a table is chosen to reflect those tables related to the last table chosen. The following are examples of table combinations frequently used in Aeries Query that are related to the STU table:
Attendance
STU ATT ABS (Attendance and Absence Codes)
STU ATN (Attendance Notes)
Supplemental
STU SUP (Student Supplemental Info)
STU SSD (Secondary Student Data)
STU RAL (Record Access Log)
STU RJN (Rejoinders)
STU AUT (Authorizations/Prohibitions)
STU ACT (Activities)
STU PGM (Programs)
Medical
STU MED (Medical)
STU MHS (Med History)
STU IMM (Immunization)
STU DNT (Dental)
Discipline
STU ADS (Assertive Discipline)
STU DSP (Dispostions)
STU DIS (Discipline)
STU EXP (Expulsions)
Contacts
STU CON (Contacts)
Tests
STU TST CTL (Test and Testing Control)
STU TST CST (Test and Content Standards)
STU CTS (College Test Scores)
Fees
STU FEE (Fees)
Counseling
STU CNF (Counseling)
STU VIS (Visitations)
Special Ed
STU CSE (Special Ed)
STU CSE CSS (Special Ed Suspensions)
STU CSE CSV (Special Ed Services)
Language
STU LAC (LF info-SABE)
STU LAC LAF (FLOSEM)
STU LAC LAS (Assessment)
Interventions
STU INV (Interventions)
Veteran query users often type in the tables they will use. However, if the relational order of the tables is violated, the query will not produce any results and the message “Your query does not return any data!” will display.
In an elementary school example below the table order appears as STU TCH DAY ADS while in the second it is STU TCH ADS. The table TCH is not related to the table DAY so the first query will not work. The second query works because TCH relates to ADS through TN so DAY was removed from the query.
In a secondary school example the table order STU MST SEC will not run produce results because the STU table is not directly related to MST.
Once the table order is changed to STU SEC MST the query will run because STU relates to SEC through SN and SEC relates to MST through SE.
REMEMBER that ONLY Related tables can be used in a multiple table query. The order in which we list tables does make a difference.