🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #1142

multiple expressions in select statement

#1142
From: Sebastian Degenaar
Date: Sat, 18 Apr 1998 00:00
20 lines
1243 bytes
Hi!

My problem essentially is using multiple expressions in the select
statement. An example is given below:

SELECT c.club, count(customer_n) / 19 *0.175  * 10000 AS total
FROM customer AS x, club AS c
WHERE x.church_id = c.club_id
GROUP BY c.club;

I am writing some software in Visual dBase 5.5 pro and a query along the
same line as the one above is the only part of the program (other than
generating some reports of it) left. The error that is returned is that this
is not 'supported'. Essentially my question is whether or not the new
version dBase 7 supports an sql statement like this ?

NB. Have tested this sql statement out in Access 97 and it works fine. Am
wondering also if dBase v7 offers the same sort of support for sql as Access
does ?
Technical Details
Message-ID: <6h98vi$cnf2@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,ec259de44d6a39ef,start
X-Google-Attributes: gidff5a1,public
From: "Sebastian Degenaar" <sdegenaar@yahoo.com>
Subject: multiple expressions in select statement
Date: 1998/04/18
Message-ID: <6h98vi$cnf2@forums.borland.com>
X-Deja-AN: 345256975
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.vdbase.data.sql