Hi im new with openreports,
i wrote an sql query wich successifuly retreive data from mysql console , but the same query didn't want to work with open reports below the sql query
SELECT projects.name ,trackers.name , issues.subject ,issue_statuses.name FROM projects,trackers, issues,issue_statuses WHERE projects.id=issues.project_id AND trackers.id=issues.tracker_id AND issues.status_id=issue_statuses.id
when i execute it in open reports it has like a confusion with the column name 'name' .
One more thing I didn't know how to configure a report with report parameter.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
SELECT projects.name as project,trackers.name as tracker, issues.subject ,
issue_statuses.name as status FROM projects,trackers, issues,issue_statuses
WHERE projects.id=issues.project_id AND trackers.id=issues.tracker_id AND
issues.status_id=issue_statuses.id
Hi im new with openreports,
i wrote an sql query wich successifuly retreive data from mysql console ,
but the same query didn't want to work with open reports below the sql
query
SELECT projects.name ,trackers.name , issues.subject ,issue_statuses.name
FROM projects,trackers, issues,issue_statuses WHERE projects.id=issues.project_id
AND trackers.id=issues.tracker_id AND issues.status_id=issue_statuses.id
when i execute it in open reports it has like a confusion with the column
name 'name' .
One more thing I didn't know how to configure a report with report
parameter.
Thanks
Hi im new with openreports,
i wrote an sql query wich successifuly retreive data from mysql console ,
but the same query didn't want to work with open reports below the sql
query
SELECT projects.name ,trackers.name , issues.subject ,issue_statuses.name
FROM projects,trackers, issues,issue_statuses WHERE projects.id=issues.project_id
AND trackers.id=issues.tracker_id AND issues.status_id=issue_statuses.id
when i execute it in open reports it has like a confusion with the column
name 'name' .
One more thing I didn't know how to configure a report with report
parameter.
Thanks
Hi im new with openreports,
i wrote an sql query wich successifuly retreive data from mysql console , but the same query didn't want to work with open reports below the sql query
SELECT projects.name ,trackers.name , issues.subject ,issue_statuses.name FROM projects,trackers, issues,issue_statuses WHERE projects.id=issues.project_id AND trackers.id=issues.tracker_id AND issues.status_id=issue_statuses.id
when i execute it in open reports it has like a confusion with the column name 'name' .
One more thing I didn't know how to configure a report with report parameter.
Thanks
Does column alaising work?
SELECT projects.name as project,trackers.name as tracker, issues.subject ,
issue_statuses.name as status FROM projects,trackers, issues,issue_statuses
WHERE projects.id=issues.project_id AND trackers.id=issues.tracker_id AND
issues.status_id=issue_statuses.id
On 18 October 2017 at 21:26, imane enami@users.sf.net wrote:
--
Bryan Scott
Database Administrator
Pacific Island Forum Fisheries Agency
http://www.ffa.int
Give the fields new names:
projects.name AS project_name,trackers.name AS trackers_name,
Then the entire original SQL in a outer query:
SELECT *
FROM ( put original sql with the new field names here)
;
On Wed, Oct 18, 2017 at 5:26 AM, imane enami@users.sf.net wrote:
--
Kiva.org - loans that change lives
column alaising don't work also i tried it before.