mardi 14 juillet 2015

Select unique records from different tables with minimum sum

I have a SQLite database with 9 tables. Each of these tables have two columns: name and value such that all the tables have the same records (name) but different values. How do I select the records that are a part of least sum of values spanning across these tables such that the record names are unique?

Aucun commentaire:

Enregistrer un commentaire