Board index » delphi » SQL syntax question
StefaX
![]() Delphi Developer |
Thu, 09 Aug 2001 03:00:00 GMT
SQL syntax question
Hi all,
I would like to know if there is anybody who has a solution for my problem. I need to represent datas from a single table in a cross format. The table has the following fields : QSTART, QEND, DENSITY, PRICE. I would like to create an SQL to obtain a grid layout like this: DENSITY (1) DENSITY (2) QSTART QEND PRICE (1) PRICE (2) Where, obviously, every record express the price for a given density and SELECT A.QSTART, A.QEND, AND DENSITY = '10 Kg') AS COLA, AND DENSITY = '11 Kg') AS COLB but an other reader (Mr. Holscher) told me that this is possible just Thank in advance Best regards Stefano |