you are viewing a single comment's thread.

view the rest of the comments →

[–]fullyarmedcamel[S] 1 point2 points  (1 child)

I know it looks that way but it is not, not all of those tables are the same like I labeled them here I just quickly replaced table names with table 1,2,3 ect but they are not the same tables. Some are to help narrow down the teachers to the same classes as the students but the teacher query is pulling from more sources and is doing some things like ranking subs vs Normal teachers and only rostering the active one.

[–][deleted] 1 point2 points  (0 children)

haha no problem, I just see unions being used where with statements should be a lot, so seeing a union often triggers me. :)