Re: row count for multiple tables.

2001-12-17 Thread Sinisa Milivojevic
Nissim Lugasy writes: > How do I retrieve the count for multiple tables with one sql command? > > Thanks Hi! Depends what is it exactly that you need. >From mysql database, you can : select count(*) from user,db where user.user=db.user; or select count(user.user), count(db.user) from user,d

RE: row count for multiple tables.

2001-12-14 Thread Roger Baklund
* Nissim Lugasy > How do I retrieve the count for multiple tables with one sql command? describe select * from t1,t2,t3,t4,t5 where t1.id=t1.id; You will get the table names in the 'names' column and the row counts in the 'rows' column. -- Roger ---