|
I believe I figured out why the SQL below does not do what I'd like for it to do. Limit 100 and Offset 100 are related to the creation of the JSON, by starting at row 100 and limiting to 100 rows. However, by virtue of the outer json_object() placing everything into 1 and only 1 row. Therefore, there is no row 100 for it to ever build.
My intent is to limit / offset to be tied to the SELECT from the tables and not to JSON_OBJECT. Any thoughts on how to do that? I thought I had it correct but obviously not. Thanks.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.