Am a beginner, but i might have the answer =)
Relate the tables by Account name.
Then you can use the fields from Staff Auth lvl as you please =)
Stigge is right – but you shouldn't compare apples and oranges:
by finding the Staff::staff_id that equals the account name.
Another approach without a relationship is
ExecuteSQL ( "
WHERE accountName = ?
" ; "" ; "" ; Get ( AccountName )
thanks guys, wow SQL, thats something new for me to read about