Re: [Nolug] Verbose SQL

From: Mark A. Hershberger <mah_at_everybody.org>
Date: Wed, 29 Sep 2004 11:14:29 -0400
Message-ID: <415AD155.3010404@everybody.org>

Chris Reames wrote:

> Select Democrats=(select count(voters) from tbl_state_list where vote LIKE
> 'yes', Republicans=(select count(voters) from tbl_state_list where vote LIKE
> 'no', Totals=(select count(voters) from tbl_state_list where vote is not
> null) from tbl_state_list where st_code='Florida'

Since you aren't the first to do this, I'll ask: why include "tbl" in
the name of a database table? Should we put "col" or "fld" in the names
of the columns of the table? Or "db" in the name of the database we
connect to?

It seems redundant: why do it?

Mark.
___________________
Nolug mailing list
nolug@nolug.org
Received on 09/29/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST