On 9/20/2013 8:52 AM, Flakheart wrote:
If I "SELECT * FROM Groceries" to list all records, how do I arrange a query
to list each record in the groceries table with all matching history items
under each record.

You do "select * from Groceries g join History h on (g.Record = h.ItemDataId)" to get the data out, then format it to taste in your application code.
--
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to