I have a list of tuples. Every tuple has 5 elements (corresponding to 5 database columns) and I'd like to make a query
select attribute1 from mylist where attribute2 = something
e.g.
personAge = select age from mylist where person_id = 10
Is it possible to query the list of tuples in some way?