Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » How to make a list2 on a non existing child table
Re: How to make a list2 on a non existing child table [message #1919 is a reply to message #1905] Tue, 09 December 2008 15:32 Go to previous messageGo to previous message
bonzo_bcn is currently offline  bonzo_bcn
Messages: 152
Registered: June 2008
Senior Member
This are the two sql statements (I removed the
from
part to make it comprehensible):
Outer:
SELECT SQL_CALC_FOUND_ROWS entidad_id, MAX(noment) as noment, sum(importe) as importe FROM ... as entidad_s01  WHERE ( entidad_id='5' ) OR ( entidad_id='6' )  GROUP BY 1    LIMIT 1 OFFSET 0 =>Count=2

Inner:
SELECT SQL_CALC_FOUND_ROWS entidad_id, concepto, sum(importe) as importe FROM .. as entidad_s02  WHERE entidad_id='5'  GROUP BY 1,2    LIMIT 10 OFFSET 0 =>Count=1


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dynamic Report Column Headings
Next Topic: get calculated field from parent table
Goto Forum:
  


Current Time: Fri Nov 29 07:43:44 EST 2024

Total time taken to generate the page: 0.01212 seconds