Hi ppl, im trying to get a query to look in all tables that begin with "com" or exclude the 4 tables that are not needed in the query. The query will then go through every table looling to see if the student is part of that class.
I know i could use something like -
SELECT * FROM com3453, com345 etc... where Studentnumber = $snumber;
But this would take forever as there are many com's or different classes.
So is there any way to run a query on tables of string "com" at the start or exclude a few tables???
Thanks
2007-03-16
02:59:57
·
3 answers
·
asked by
Will R
1
in
Computers & Internet
➔ Programming & Design