Login
Changes To SQLSnippets
Login

Changes to "SQLSnippets" between 2014-11-03 21:35:56 and 2021-03-15 00:49:13

260
261
262
263
264
265
266
267

268
269
270
271
272
273
274
260
261
262
263
264
265
266

267
268
269
270
271
272
273
274







-
+







)
SELECT * FROM latestByBranch
ORDER BY ts DESC
;
</pre></nowiki>
<h2>Recursion Example</h2>

See also: [http://www.sqlite.org/draft/lang_with.html]
See also: [https://www.sqlite.org/lang_with.html]

The following is adapted from a sqlite mailing list post by Petite Abeille on 20140203, not directly applicable to fossil but which is an interesting example nonetheless and which can certainly be used as a model for generating fossil-related data:

<nowiki><pre>
with
DataSet(node,parent)
as