Actually, and I'm no DBA, the OP looks more to me like a situation to use a JOIN of some sort. Your example may be a bit more simple than the general case, though.
Or something like that.SELECT ri.name FROM reportindex AS ri, favorite_reports AS fr WHERE +ri.report_id = fr.reportindex_id
In reply to Re^2: dbi question
by Tanktalus
in thread dbi question
by philosophia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |