Re: Query Designer

From: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
To: Hannes Dorbath <light(at)theendofthetunnel(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Query Designer
Date: 2005-04-27 10:19:47
Message-ID: e70074329a283c820eb00ff4f05b0e3f@mail.nih.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Particularly if you have a set of queries that are used often, you
could certainly build a framework for doing this. See:

http://genome.ucsc.edu/cgi-bin/hgTables

as an example. There are many others, I would imagine. Perl, ruby,
and probably Java and python offer database abstraction tools that make
are "aware" of the foreign key structures linking tables, so building
an app that capitalizes on this could allow you to build such a "query
builder", but this problem is a hard one to do generally, I think.

Sean

On Apr 27, 2005, at 3:59 AM, Hannes Dorbath wrote:

> The SQL generated by tools like that is mostly neither performant nor
> readable in particular.
>
> Better learn basic SQL and use an editor with keyboard templates. That
> way you'll be writing your statements even faster than cicking arround
> in some stupid GUI ;)
>
> And yes, PGExplorer is the only FREE query builder I know off as well.
> There are several commercial..
>
>> a lot of WHERE... =...AND...=...AND...
>
> Maybe it creates implicit joins?
>
>
> On 26.04.2005 21:35, Carlos Gustavo Fischer wrote:
>> Hello, people.
>> I´m looking for a FREE tool where you can VISUALLY link tables and
>> mark fields and the tool
>> generates the query automatically.
>> I´ve tried PGExplorer. It´s nice, but it doens´t create "JOINS", just
>> a lot of WHERE... =...AND...=...AND...
>> Do you people have any tips ??
>> Thanks in advance,
>> Carlos G. Fischer
>> ---------------------------(end of
>> broadcast)---------------------------
>> TIP 2: you can get off all lists at once with the unregister command
>> (send "unregister YourEmailAddressHere" to
>> majordomo(at)postgresql(dot)org)
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Green 2005-04-27 11:40:47 Re: free WINDOWS rekall?
Previous Message Alban Hertroys 2005-04-27 09:09:17 Re: Performance difference between ANY and IN, also array