Use “select distinct” clause
-
I am displaying a table with several records, with a few fields that show the same values for each record. I want to use the common values as an “header” above the main table, so I have created a separate entry in the “Table builder”, and I display this table on the page, above the main table with the detail rows.
This functions as required, but the headers are displayed as many times as there are rows in the main table, so I would like to know how to display that record just once. In effect, I need to know how to replicate a “select distinct” query, but it would presumably also achieve the desired result if the upper view table showed just one row.
Can you advise how I can achieve this? Thanks in advance for your help.
Nigel
- The topic ‘Use “select distinct” clause’ is closed to new replies.