Apologies if I haven\'t give you the right format/break etiquette, I usually post python questions and it\'s quite easy to create dummy examples of the problem but my SQL skills