sqlOne="""
select DISTINCT a.companyname,c.username from `food-user`.companyinfo a
INNER JOIN `product-company`.supplier b on a.id = b.company_id
INNER JOIN `food-user`.`food_user` c on a.id = c.company_id
where a.id not in (select companyid from `food-user`.testCompanyId)
ORDER BY c.username asc
"""
sqlTwo="""
select DISTINCT a.companyname,c.username from `food-user`.companyinfo a
INNER JOIN `currency-company`.supplier b on a.id=b.company_id
INNER JOIN `food-user`.`food_user` c on a.id = c.company_id
where a.id not in (select companyid from `food-user`.testCompanyId)
ORDER BY c.username asc;
"""
sqlThree="""
select DISTINCT a.companyname,c.username from `food-user`.companyinfo a
INNER JOIN `restaurant_company`.supplier b on a.id=b.companyid
INNER JOIN `food-user`.`food_user` c on a.id = c.company_id
where a.id not in (select companyid from `food-user`.testCompanyId)
ORDER BY c.username asc;
"""
cursor.execute(sqlOne)
results = cursor.fetchall()