I am trying to "merge" the two views to a single view.
The first view is showing the top five contestants based on the load ratio. The second view is showing all of the contestants with the newest entries on top.
I tried implementing a mysql query to join the two tables - no problem running the query, but the query can't create a view because...
#1349 - View's SELECT contains a subquery in the FROM clause
So...I tried using the query
- Code: Select all
select * from (select * from TopFive as tf union all select * from FullReport as fr ) as Report
in the fields.ini in one of my table folders, specifically the table for the "TopFive" view.
No luck, as I receive the parsing error...
Fatal error: Failed parsing SQL query on select: select * from (select * from TopFive as x union all select * from FullReport as y) as z . The Error was Parse error: Unexpected clause on line 1 select * from (select * from TopFive as x union all select * from FullReport as y) as z ^ found: "all" in /home/swmobridge/swmobridgecontest.org/cms/contest/dataface/lib/SQL/Parser.php on line 1765
I'm also wondering if it would it be possible to place a View table in a custom header?
Website: http://www.swmobridgecontest.org/cms/contest/