question,sql_query find all customers from brazil,select * from customers where cust_res_country = 'brazil' find all married customers from brazil,select * from customers where cust_res_country = 'brazil' and cust_mar_stat = 'married' find all single customers from brazil,select * from customers where cust_res_country = 'brazil' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from brazil,select * from customers where cust_res_country = 'brazil' and cust_type = 'regular' find all business type customers from brazil,select * from customers where cust_res_country = 'brazil' and cust_type = 'business' find all premier type customers from brazil,select * from customers where cust_res_country = 'brazil' and cust_type = 'premier' show all customers having salary greater than 10000,select * from customers where cust_annual_sal > 10000 show all customers having salary less than 10000,select * from customers where cust_annual_sal < 10000 show all customers having salary equal to 10000,select * from customers where cust_annual_sal = 10000 find all married customers having salary greater than 10000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 10000 find all single customers having salary less than 10000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 10000 show all customers from brazil having salary more than 10000,select * from customers where cust_res_country = 'brazil' and cust_annual_sal > 10000; show all married customers from brazil having salary less than 10000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'brazil' and cust_annual_sal < 10000 show all single customers from brazil having salary less than 10000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'brazil' and cust_annual_sal < 10000 find all business type customers from brazil having salary equal to 10000,select * from customers where cust_type = 'business' and cust_res_country = 'brazil' and cust_annual_sal = 10000 find all premier type customers from brazil having salary equal to 10000,select * from customers where cust_type = 'premier' and cust_res_country = 'brazil' and cust_annual_sal = 10000 find all regular type customers from brazil having salary greater than 10000,select * from customers where cust_type = 'regular' and cust_res_country = 'brazil' and cust_annual_sal > 10000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from brazil,select cust_mem_num from customers where cust_res_country = 'brazil' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from brazil having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from brazil having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from brazil having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from brazil having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from brazil having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from brazil having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from brazil having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from brazil having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from brazil having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from brazil having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from brazil having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from brazil having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from brazil having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from brazil having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from brazil having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from brazil having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from brazil having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from brazil having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from brazil having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from brazil having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from brazil having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from brazil having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from brazil having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from brazil having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from brazil having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from brazil having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'brazil' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 10000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 10000 and pdt_cls_cde = 'mo' show all customers having salary greater than 10000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 10000 and pdt_cls_cde = 'sa' show all customers having salary greater than 10000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 10000 and pdt_cls_cde = 'iv' show all customers having salary greater than 10000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 10000 and pdt_cls_cde = 'cu' show all customers having salary greater than 10000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 10000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 10000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 10000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 10000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 10000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 10000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 10000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from brazil having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'brazil' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from argentina,select * from customers where cust_res_country = 'argentina' find all married customers from argentina,select * from customers where cust_res_country = 'argentina' and cust_mar_stat = 'married' find all single customers from argentina,select * from customers where cust_res_country = 'argentina' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from argentina,select * from customers where cust_res_country = 'argentina' and cust_type = 'regular' find all business type customers from argentina,select * from customers where cust_res_country = 'argentina' and cust_type = 'business' find all premier type customers from argentina,select * from customers where cust_res_country = 'argentina' and cust_type = 'premier' show all customers having salary greater than 10000,select * from customers where cust_annual_sal > 10000 show all customers having salary less than 10000,select * from customers where cust_annual_sal < 10000 show all customers having salary equal to 10000,select * from customers where cust_annual_sal = 10000 find all married customers having salary greater than 10000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 10000 find all single customers having salary less than 10000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 10000 show all customers from argentina having salary more than 10000,select * from customers where cust_res_country = 'argentina' and cust_annual_sal > 10000; show all married customers from argentina having salary less than 10000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'argentina' and cust_annual_sal < 10000 show all single customers from argentina having salary less than 10000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'argentina' and cust_annual_sal < 10000 find all business type customers from argentina having salary equal to 10000,select * from customers where cust_type = 'business' and cust_res_country = 'argentina' and cust_annual_sal = 10000 find all premier type customers from argentina having salary equal to 10000,select * from customers where cust_type = 'premier' and cust_res_country = 'argentina' and cust_annual_sal = 10000 find all regular type customers from argentina having salary greater than 10000,select * from customers where cust_type = 'regular' and cust_res_country = 'argentina' and cust_annual_sal > 10000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from argentina,select cust_mem_num from customers where cust_res_country = 'argentina' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from argentina having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from argentina having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from argentina having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from argentina having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from argentina having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from argentina having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from argentina having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from argentina having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from argentina having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from argentina having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from argentina having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from argentina having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from argentina having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from argentina having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from argentina having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from argentina having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from argentina having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from argentina having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from argentina having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from argentina having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from argentina having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from argentina having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from argentina having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from argentina having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from argentina having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from argentina having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'argentina' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 10000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 10000 and pdt_cls_cde = 'mo' show all customers having salary greater than 10000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 10000 and pdt_cls_cde = 'sa' show all customers having salary greater than 10000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 10000 and pdt_cls_cde = 'iv' show all customers having salary greater than 10000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 10000 and pdt_cls_cde = 'cu' show all customers having salary greater than 10000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 10000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 10000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 10000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 10000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 10000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 10000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 10000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from argentina having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'argentina' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from mexico,select * from customers where cust_res_country = 'mexico' find all married customers from mexico,select * from customers where cust_res_country = 'mexico' and cust_mar_stat = 'married' find all single customers from mexico,select * from customers where cust_res_country = 'mexico' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from mexico,select * from customers where cust_res_country = 'mexico' and cust_type = 'regular' find all business type customers from mexico,select * from customers where cust_res_country = 'mexico' and cust_type = 'business' find all premier type customers from mexico,select * from customers where cust_res_country = 'mexico' and cust_type = 'premier' show all customers having salary greater than 50000,select * from customers where cust_annual_sal > 50000 show all customers having salary less than 50000,select * from customers where cust_annual_sal < 50000 show all customers having salary equal to 50000,select * from customers where cust_annual_sal = 50000 find all married customers having salary greater than 50000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 50000 find all single customers having salary less than 50000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 50000 show all customers from mexico having salary more than 50000,select * from customers where cust_res_country = 'mexico' and cust_annual_sal > 50000; show all married customers from mexico having salary less than 50000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'mexico' and cust_annual_sal < 50000 show all single customers from mexico having salary less than 50000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'mexico' and cust_annual_sal < 50000 find all business type customers from mexico having salary equal to 50000,select * from customers where cust_type = 'business' and cust_res_country = 'mexico' and cust_annual_sal = 50000 find all premier type customers from mexico having salary equal to 50000,select * from customers where cust_type = 'premier' and cust_res_country = 'mexico' and cust_annual_sal = 50000 find all regular type customers from mexico having salary greater than 50000,select * from customers where cust_type = 'regular' and cust_res_country = 'mexico' and cust_annual_sal > 50000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from mexico,select cust_mem_num from customers where cust_res_country = 'mexico' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from mexico having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from mexico having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from mexico having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from mexico having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from mexico having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from mexico having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from mexico having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from mexico having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from mexico having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from mexico having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from mexico having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from mexico having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from mexico having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from mexico having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from mexico having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from mexico having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from mexico having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from mexico having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from mexico having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from mexico having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from mexico having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from mexico having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from mexico having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from mexico having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from mexico having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from mexico having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'mexico' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 50000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 50000 and pdt_cls_cde = 'mo' show all customers having salary greater than 50000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 50000 and pdt_cls_cde = 'sa' show all customers having salary greater than 50000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 50000 and pdt_cls_cde = 'iv' show all customers having salary greater than 50000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 50000 and pdt_cls_cde = 'cu' show all customers having salary greater than 50000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 50000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 50000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 50000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 50000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 50000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 50000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 50000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from mexico having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'mexico' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from spain,select * from customers where cust_res_country = 'spain' find all married customers from spain,select * from customers where cust_res_country = 'spain' and cust_mar_stat = 'married' find all single customers from spain,select * from customers where cust_res_country = 'spain' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from spain,select * from customers where cust_res_country = 'spain' and cust_type = 'regular' find all business type customers from spain,select * from customers where cust_res_country = 'spain' and cust_type = 'business' find all premier type customers from spain,select * from customers where cust_res_country = 'spain' and cust_type = 'premier' show all customers having salary greater than 30000,select * from customers where cust_annual_sal > 30000 show all customers having salary less than 30000,select * from customers where cust_annual_sal < 30000 show all customers having salary equal to 30000,select * from customers where cust_annual_sal = 30000 find all married customers having salary greater than 30000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 30000 find all single customers having salary less than 30000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 30000 show all customers from spain having salary more than 30000,select * from customers where cust_res_country = 'spain' and cust_annual_sal > 30000; show all married customers from spain having salary less than 30000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'spain' and cust_annual_sal < 30000 show all single customers from spain having salary less than 30000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'spain' and cust_annual_sal < 30000 find all business type customers from spain having salary equal to 30000,select * from customers where cust_type = 'business' and cust_res_country = 'spain' and cust_annual_sal = 30000 find all premier type customers from spain having salary equal to 30000,select * from customers where cust_type = 'premier' and cust_res_country = 'spain' and cust_annual_sal = 30000 find all regular type customers from spain having salary greater than 30000,select * from customers where cust_type = 'regular' and cust_res_country = 'spain' and cust_annual_sal > 30000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from spain,select cust_mem_num from customers where cust_res_country = 'spain' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from spain having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from spain having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from spain having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from spain having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from spain having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from spain having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from spain having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from spain having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from spain having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from spain having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from spain having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from spain having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from spain having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from spain having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from spain having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from spain having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from spain having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from spain having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from spain having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from spain having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from spain having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from spain having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from spain having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from spain having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from spain having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from spain having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'spain' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 30000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 30000 and pdt_cls_cde = 'mo' show all customers having salary greater than 30000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 30000 and pdt_cls_cde = 'sa' show all customers having salary greater than 30000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 30000 and pdt_cls_cde = 'iv' show all customers having salary greater than 30000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 30000 and pdt_cls_cde = 'cu' show all customers having salary greater than 30000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 30000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 30000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 30000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 30000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 30000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 30000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 30000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from spain having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'spain' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from belgium,select * from customers where cust_res_country = 'belgium' find all married customers from belgium,select * from customers where cust_res_country = 'belgium' and cust_mar_stat = 'married' find all single customers from belgium,select * from customers where cust_res_country = 'belgium' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from belgium,select * from customers where cust_res_country = 'belgium' and cust_type = 'regular' find all business type customers from belgium,select * from customers where cust_res_country = 'belgium' and cust_type = 'business' find all premier type customers from belgium,select * from customers where cust_res_country = 'belgium' and cust_type = 'premier' show all customers having salary greater than 30000,select * from customers where cust_annual_sal > 30000 show all customers having salary less than 30000,select * from customers where cust_annual_sal < 30000 show all customers having salary equal to 30000,select * from customers where cust_annual_sal = 30000 find all married customers having salary greater than 30000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 30000 find all single customers having salary less than 30000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 30000 show all customers from belgium having salary more than 30000,select * from customers where cust_res_country = 'belgium' and cust_annual_sal > 30000; show all married customers from belgium having salary less than 30000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'belgium' and cust_annual_sal < 30000 show all single customers from belgium having salary less than 30000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'belgium' and cust_annual_sal < 30000 find all business type customers from belgium having salary equal to 30000,select * from customers where cust_type = 'business' and cust_res_country = 'belgium' and cust_annual_sal = 30000 find all premier type customers from belgium having salary equal to 30000,select * from customers where cust_type = 'premier' and cust_res_country = 'belgium' and cust_annual_sal = 30000 find all regular type customers from belgium having salary greater than 30000,select * from customers where cust_type = 'regular' and cust_res_country = 'belgium' and cust_annual_sal > 30000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from belgium,select cust_mem_num from customers where cust_res_country = 'belgium' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from belgium having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from belgium having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from belgium having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from belgium having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from belgium having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from belgium having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from belgium having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from belgium having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from belgium having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from belgium having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from belgium having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from belgium having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from belgium having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from belgium having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from belgium having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from belgium having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from belgium having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from belgium having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from belgium having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from belgium having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from belgium having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from belgium having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from belgium having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from belgium having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from belgium having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from belgium having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'belgium' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 30000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 30000 and pdt_cls_cde = 'mo' show all customers having salary greater than 30000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 30000 and pdt_cls_cde = 'sa' show all customers having salary greater than 30000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 30000 and pdt_cls_cde = 'iv' show all customers having salary greater than 30000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 30000 and pdt_cls_cde = 'cu' show all customers having salary greater than 30000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 30000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 30000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 30000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 30000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 30000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 30000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 30000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from belgium having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'belgium' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from france,select * from customers where cust_res_country = 'france' find all married customers from france,select * from customers where cust_res_country = 'france' and cust_mar_stat = 'married' find all single customers from france,select * from customers where cust_res_country = 'france' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from france,select * from customers where cust_res_country = 'france' and cust_type = 'regular' find all business type customers from france,select * from customers where cust_res_country = 'france' and cust_type = 'business' find all premier type customers from france,select * from customers where cust_res_country = 'france' and cust_type = 'premier' show all customers having salary greater than 30000,select * from customers where cust_annual_sal > 30000 show all customers having salary less than 30000,select * from customers where cust_annual_sal < 30000 show all customers having salary equal to 30000,select * from customers where cust_annual_sal = 30000 find all married customers having salary greater than 30000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 30000 find all single customers having salary less than 30000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 30000 show all customers from france having salary more than 30000,select * from customers where cust_res_country = 'france' and cust_annual_sal > 30000; show all married customers from france having salary less than 30000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'france' and cust_annual_sal < 30000 show all single customers from france having salary less than 30000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'france' and cust_annual_sal < 30000 find all business type customers from france having salary equal to 30000,select * from customers where cust_type = 'business' and cust_res_country = 'france' and cust_annual_sal = 30000 find all premier type customers from france having salary equal to 30000,select * from customers where cust_type = 'premier' and cust_res_country = 'france' and cust_annual_sal = 30000 find all regular type customers from france having salary greater than 30000,select * from customers where cust_type = 'regular' and cust_res_country = 'france' and cust_annual_sal > 30000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from france,select cust_mem_num from customers where cust_res_country = 'france' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from france having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from france having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from france having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from france having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from france having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from france having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from france having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from france having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from france having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from france having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from france having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from france having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from france having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from france having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from france having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from france having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from france having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from france having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from france having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from france having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from france having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from france having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from france having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from france having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from france having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from france having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'france' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 30000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 30000 and pdt_cls_cde = 'mo' show all customers having salary greater than 30000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 30000 and pdt_cls_cde = 'sa' show all customers having salary greater than 30000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 30000 and pdt_cls_cde = 'iv' show all customers having salary greater than 30000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 30000 and pdt_cls_cde = 'cu' show all customers having salary greater than 30000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 30000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 30000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 30000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 30000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 30000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 30000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 30000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from france having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'france' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from russia,select * from customers where cust_res_country = 'russia' find all married customers from russia,select * from customers where cust_res_country = 'russia' and cust_mar_stat = 'married' find all single customers from russia,select * from customers where cust_res_country = 'russia' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from russia,select * from customers where cust_res_country = 'russia' and cust_type = 'regular' find all business type customers from russia,select * from customers where cust_res_country = 'russia' and cust_type = 'business' find all premier type customers from russia,select * from customers where cust_res_country = 'russia' and cust_type = 'premier' show all customers having salary greater than 80000,select * from customers where cust_annual_sal > 80000 show all customers having salary less than 80000,select * from customers where cust_annual_sal < 80000 show all customers having salary equal to 80000,select * from customers where cust_annual_sal = 80000 find all married customers having salary greater than 80000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 80000 find all single customers having salary less than 80000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 80000 show all customers from russia having salary more than 80000,select * from customers where cust_res_country = 'russia' and cust_annual_sal > 80000; show all married customers from russia having salary less than 80000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'russia' and cust_annual_sal < 80000 show all single customers from russia having salary less than 80000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'russia' and cust_annual_sal < 80000 find all business type customers from russia having salary equal to 80000,select * from customers where cust_type = 'business' and cust_res_country = 'russia' and cust_annual_sal = 80000 find all premier type customers from russia having salary equal to 80000,select * from customers where cust_type = 'premier' and cust_res_country = 'russia' and cust_annual_sal = 80000 find all regular type customers from russia having salary greater than 80000,select * from customers where cust_type = 'regular' and cust_res_country = 'russia' and cust_annual_sal > 80000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from russia,select cust_mem_num from customers where cust_res_country = 'russia' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from russia having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from russia having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from russia having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from russia having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from russia having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from russia having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from russia having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from russia having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from russia having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from russia having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from russia having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from russia having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from russia having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from russia having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from russia having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from russia having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from russia having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from russia having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from russia having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from russia having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from russia having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from russia having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from russia having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from russia having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from russia having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from russia having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'russia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 80000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 80000 and pdt_cls_cde = 'mo' show all customers having salary greater than 80000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 80000 and pdt_cls_cde = 'sa' show all customers having salary greater than 80000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 80000 and pdt_cls_cde = 'iv' show all customers having salary greater than 80000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 80000 and pdt_cls_cde = 'cu' show all customers having salary greater than 80000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 80000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 80000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 80000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 80000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 80000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 80000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 80000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from russia having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'russia' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from usa,select * from customers where cust_res_country = 'usa' find all married customers from usa,select * from customers where cust_res_country = 'usa' and cust_mar_stat = 'married' find all single customers from usa,select * from customers where cust_res_country = 'usa' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from usa,select * from customers where cust_res_country = 'usa' and cust_type = 'regular' find all business type customers from usa,select * from customers where cust_res_country = 'usa' and cust_type = 'business' find all premier type customers from usa,select * from customers where cust_res_country = 'usa' and cust_type = 'premier' show all customers having salary greater than 80000,select * from customers where cust_annual_sal > 80000 show all customers having salary less than 80000,select * from customers where cust_annual_sal < 80000 show all customers having salary equal to 80000,select * from customers where cust_annual_sal = 80000 find all married customers having salary greater than 80000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 80000 find all single customers having salary less than 80000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 80000 show all customers from usa having salary more than 80000,select * from customers where cust_res_country = 'usa' and cust_annual_sal > 80000; show all married customers from usa having salary less than 80000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'usa' and cust_annual_sal < 80000 show all single customers from usa having salary less than 80000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'usa' and cust_annual_sal < 80000 find all business type customers from usa having salary equal to 80000,select * from customers where cust_type = 'business' and cust_res_country = 'usa' and cust_annual_sal = 80000 find all premier type customers from usa having salary equal to 80000,select * from customers where cust_type = 'premier' and cust_res_country = 'usa' and cust_annual_sal = 80000 find all regular type customers from usa having salary greater than 80000,select * from customers where cust_type = 'regular' and cust_res_country = 'usa' and cust_annual_sal > 80000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from usa,select cust_mem_num from customers where cust_res_country = 'usa' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from usa having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from usa having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from usa having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from usa having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from usa having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from usa having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from usa having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from usa having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from usa having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from usa having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from usa having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from usa having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from usa having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from usa having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from usa having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from usa having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from usa having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from usa having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from usa having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from usa having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from usa having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from usa having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from usa having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from usa having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from usa having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from usa having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'usa' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 80000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 80000 and pdt_cls_cde = 'mo' show all customers having salary greater than 80000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 80000 and pdt_cls_cde = 'sa' show all customers having salary greater than 80000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 80000 and pdt_cls_cde = 'iv' show all customers having salary greater than 80000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 80000 and pdt_cls_cde = 'cu' show all customers having salary greater than 80000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 80000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 80000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 80000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 80000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 80000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 80000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 80000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from usa having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'usa' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from singapore,select * from customers where cust_res_country = 'singapore' find all married customers from singapore,select * from customers where cust_res_country = 'singapore' and cust_mar_stat = 'married' find all single customers from singapore,select * from customers where cust_res_country = 'singapore' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from singapore,select * from customers where cust_res_country = 'singapore' and cust_type = 'regular' find all business type customers from singapore,select * from customers where cust_res_country = 'singapore' and cust_type = 'business' find all premier type customers from singapore,select * from customers where cust_res_country = 'singapore' and cust_type = 'premier' show all customers having salary greater than 80000,select * from customers where cust_annual_sal > 80000 show all customers having salary less than 80000,select * from customers where cust_annual_sal < 80000 show all customers having salary equal to 80000,select * from customers where cust_annual_sal = 80000 find all married customers having salary greater than 80000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 80000 find all single customers having salary less than 80000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 80000 show all customers from singapore having salary more than 80000,select * from customers where cust_res_country = 'singapore' and cust_annual_sal > 80000; show all married customers from singapore having salary less than 80000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'singapore' and cust_annual_sal < 80000 show all single customers from singapore having salary less than 80000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'singapore' and cust_annual_sal < 80000 find all business type customers from singapore having salary equal to 80000,select * from customers where cust_type = 'business' and cust_res_country = 'singapore' and cust_annual_sal = 80000 find all premier type customers from singapore having salary equal to 80000,select * from customers where cust_type = 'premier' and cust_res_country = 'singapore' and cust_annual_sal = 80000 find all regular type customers from singapore having salary greater than 80000,select * from customers where cust_type = 'regular' and cust_res_country = 'singapore' and cust_annual_sal > 80000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from singapore,select cust_mem_num from customers where cust_res_country = 'singapore' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from singapore having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from singapore having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from singapore having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from singapore having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from singapore having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from singapore having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from singapore having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from singapore having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from singapore having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from singapore having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from singapore having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from singapore having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from singapore having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from singapore having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from singapore having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from singapore having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from singapore having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from singapore having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from singapore having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from singapore having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from singapore having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from singapore having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from singapore having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from singapore having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from singapore having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from singapore having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'singapore' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 80000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 80000 and pdt_cls_cde = 'mo' show all customers having salary greater than 80000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 80000 and pdt_cls_cde = 'sa' show all customers having salary greater than 80000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 80000 and pdt_cls_cde = 'iv' show all customers having salary greater than 80000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 80000 and pdt_cls_cde = 'cu' show all customers having salary greater than 80000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 80000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 80000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 80000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 80000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 80000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 80000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 80000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from singapore having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'singapore' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from japan,select * from customers where cust_res_country = 'japan' find all married customers from japan,select * from customers where cust_res_country = 'japan' and cust_mar_stat = 'married' find all single customers from japan,select * from customers where cust_res_country = 'japan' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from japan,select * from customers where cust_res_country = 'japan' and cust_type = 'regular' find all business type customers from japan,select * from customers where cust_res_country = 'japan' and cust_type = 'business' find all premier type customers from japan,select * from customers where cust_res_country = 'japan' and cust_type = 'premier' show all customers having salary greater than 90000,select * from customers where cust_annual_sal > 90000 show all customers having salary less than 90000,select * from customers where cust_annual_sal < 90000 show all customers having salary equal to 90000,select * from customers where cust_annual_sal = 90000 find all married customers having salary greater than 90000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 90000 find all single customers having salary less than 90000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 90000 show all customers from japan having salary more than 90000,select * from customers where cust_res_country = 'japan' and cust_annual_sal > 90000; show all married customers from japan having salary less than 90000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'japan' and cust_annual_sal < 90000 show all single customers from japan having salary less than 90000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'japan' and cust_annual_sal < 90000 find all business type customers from japan having salary equal to 90000,select * from customers where cust_type = 'business' and cust_res_country = 'japan' and cust_annual_sal = 90000 find all premier type customers from japan having salary equal to 90000,select * from customers where cust_type = 'premier' and cust_res_country = 'japan' and cust_annual_sal = 90000 find all regular type customers from japan having salary greater than 90000,select * from customers where cust_type = 'regular' and cust_res_country = 'japan' and cust_annual_sal > 90000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from japan,select cust_mem_num from customers where cust_res_country = 'japan' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from japan having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from japan having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from japan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from japan having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from japan having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from japan having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from japan having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from japan having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from japan having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from japan having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from japan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from japan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from japan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from japan having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from japan having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from japan having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from japan having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from japan having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from japan having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from japan having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from japan having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from japan having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from japan having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from japan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from japan having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from japan having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'japan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 90000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 90000 and pdt_cls_cde = 'mo' show all customers having salary greater than 90000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 90000 and pdt_cls_cde = 'sa' show all customers having salary greater than 90000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 90000 and pdt_cls_cde = 'iv' show all customers having salary greater than 90000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 90000 and pdt_cls_cde = 'cu' show all customers having salary greater than 90000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 90000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 90000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 90000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 90000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 90000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 90000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 90000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from japan having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'japan' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from china,select * from customers where cust_res_country = 'china' find all married customers from china,select * from customers where cust_res_country = 'china' and cust_mar_stat = 'married' find all single customers from china,select * from customers where cust_res_country = 'china' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from china,select * from customers where cust_res_country = 'china' and cust_type = 'regular' find all business type customers from china,select * from customers where cust_res_country = 'china' and cust_type = 'business' find all premier type customers from china,select * from customers where cust_res_country = 'china' and cust_type = 'premier' show all customers having salary greater than 110000,select * from customers where cust_annual_sal > 110000 show all customers having salary less than 110000,select * from customers where cust_annual_sal < 110000 show all customers having salary equal to 110000,select * from customers where cust_annual_sal = 110000 find all married customers having salary greater than 110000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 110000 find all single customers having salary less than 110000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 110000 show all customers from china having salary more than 110000,select * from customers where cust_res_country = 'china' and cust_annual_sal > 110000; show all married customers from china having salary less than 110000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'china' and cust_annual_sal < 110000 show all single customers from china having salary less than 110000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'china' and cust_annual_sal < 110000 find all business type customers from china having salary equal to 110000,select * from customers where cust_type = 'business' and cust_res_country = 'china' and cust_annual_sal = 110000 find all premier type customers from china having salary equal to 110000,select * from customers where cust_type = 'premier' and cust_res_country = 'china' and cust_annual_sal = 110000 find all regular type customers from china having salary greater than 110000,select * from customers where cust_type = 'regular' and cust_res_country = 'china' and cust_annual_sal > 110000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from china,select cust_mem_num from customers where cust_res_country = 'china' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from china having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from china having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from china having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from china having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from china having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from china having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from china having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from china having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from china having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from china having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from china having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from china having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from china having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from china having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from china having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from china having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from china having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from china having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from china having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from china having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from china having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from china having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from china having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from china having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from china having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from china having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 110000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 110000 and pdt_cls_cde = 'mo' show all customers having salary greater than 110000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 110000 and pdt_cls_cde = 'sa' show all customers having salary greater than 110000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 110000 and pdt_cls_cde = 'iv' show all customers having salary greater than 110000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 110000 and pdt_cls_cde = 'cu' show all customers having salary greater than 110000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 110000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 110000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 110000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 110000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 110000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 110000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 110000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from china having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'china' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from gabon,select * from customers where cust_res_country = 'gabon' find all married customers from gabon,select * from customers where cust_res_country = 'gabon' and cust_mar_stat = 'married' find all single customers from gabon,select * from customers where cust_res_country = 'gabon' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from gabon,select * from customers where cust_res_country = 'gabon' and cust_type = 'regular' find all business type customers from gabon,select * from customers where cust_res_country = 'gabon' and cust_type = 'business' find all premier type customers from gabon,select * from customers where cust_res_country = 'gabon' and cust_type = 'premier' show all customers having salary greater than 110000,select * from customers where cust_annual_sal > 110000 show all customers having salary less than 110000,select * from customers where cust_annual_sal < 110000 show all customers having salary equal to 110000,select * from customers where cust_annual_sal = 110000 find all married customers having salary greater than 110000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 110000 find all single customers having salary less than 110000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 110000 show all customers from gabon having salary more than 110000,select * from customers where cust_res_country = 'gabon' and cust_annual_sal > 110000; show all married customers from gabon having salary less than 110000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'gabon' and cust_annual_sal < 110000 show all single customers from gabon having salary less than 110000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'gabon' and cust_annual_sal < 110000 find all business type customers from gabon having salary equal to 110000,select * from customers where cust_type = 'business' and cust_res_country = 'gabon' and cust_annual_sal = 110000 find all premier type customers from gabon having salary equal to 110000,select * from customers where cust_type = 'premier' and cust_res_country = 'gabon' and cust_annual_sal = 110000 find all regular type customers from gabon having salary greater than 110000,select * from customers where cust_type = 'regular' and cust_res_country = 'gabon' and cust_annual_sal > 110000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from gabon,select cust_mem_num from customers where cust_res_country = 'gabon' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from gabon having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from gabon having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from gabon having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from gabon having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from gabon having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from gabon having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from gabon having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from gabon having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from gabon having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from gabon having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from gabon having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from gabon having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from gabon having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from gabon having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from gabon having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from gabon having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from gabon having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from gabon having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from gabon having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from gabon having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from gabon having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from gabon having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from gabon having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from gabon having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from gabon having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from gabon having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'gabon' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 110000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 110000 and pdt_cls_cde = 'mo' show all customers having salary greater than 110000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 110000 and pdt_cls_cde = 'sa' show all customers having salary greater than 110000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 110000 and pdt_cls_cde = 'iv' show all customers having salary greater than 110000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 110000 and pdt_cls_cde = 'cu' show all customers having salary greater than 110000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 110000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 110000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 110000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 110000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 110000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 110000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 110000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from gabon having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'gabon' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from nepal,select * from customers where cust_res_country = 'nepal' find all married customers from nepal,select * from customers where cust_res_country = 'nepal' and cust_mar_stat = 'married' find all single customers from nepal,select * from customers where cust_res_country = 'nepal' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from nepal,select * from customers where cust_res_country = 'nepal' and cust_type = 'regular' find all business type customers from nepal,select * from customers where cust_res_country = 'nepal' and cust_type = 'business' find all premier type customers from nepal,select * from customers where cust_res_country = 'nepal' and cust_type = 'premier' show all customers having salary greater than 110000,select * from customers where cust_annual_sal > 110000 show all customers having salary less than 110000,select * from customers where cust_annual_sal < 110000 show all customers having salary equal to 110000,select * from customers where cust_annual_sal = 110000 find all married customers having salary greater than 110000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 110000 find all single customers having salary less than 110000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 110000 show all customers from nepal having salary more than 110000,select * from customers where cust_res_country = 'nepal' and cust_annual_sal > 110000; show all married customers from nepal having salary less than 110000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'nepal' and cust_annual_sal < 110000 show all single customers from nepal having salary less than 110000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'nepal' and cust_annual_sal < 110000 find all business type customers from nepal having salary equal to 110000,select * from customers where cust_type = 'business' and cust_res_country = 'nepal' and cust_annual_sal = 110000 find all premier type customers from nepal having salary equal to 110000,select * from customers where cust_type = 'premier' and cust_res_country = 'nepal' and cust_annual_sal = 110000 find all regular type customers from nepal having salary greater than 110000,select * from customers where cust_type = 'regular' and cust_res_country = 'nepal' and cust_annual_sal > 110000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from nepal,select cust_mem_num from customers where cust_res_country = 'nepal' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from nepal having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from nepal having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from nepal having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from nepal having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from nepal having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from nepal having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from nepal having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from nepal having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from nepal having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from nepal having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from nepal having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from nepal having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from nepal having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from nepal having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from nepal having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from nepal having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from nepal having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from nepal having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from nepal having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from nepal having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from nepal having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from nepal having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from nepal having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from nepal having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from nepal having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from nepal having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nepal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 110000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 110000 and pdt_cls_cde = 'mo' show all customers having salary greater than 110000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 110000 and pdt_cls_cde = 'sa' show all customers having salary greater than 110000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 110000 and pdt_cls_cde = 'iv' show all customers having salary greater than 110000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 110000 and pdt_cls_cde = 'cu' show all customers having salary greater than 110000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 110000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 110000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 110000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 110000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 110000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 110000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 110000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from nepal having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'nepal' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from polland,select * from customers where cust_res_country = 'polland' find all married customers from polland,select * from customers where cust_res_country = 'polland' and cust_mar_stat = 'married' find all single customers from polland,select * from customers where cust_res_country = 'polland' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from polland,select * from customers where cust_res_country = 'polland' and cust_type = 'regular' find all business type customers from polland,select * from customers where cust_res_country = 'polland' and cust_type = 'business' find all premier type customers from polland,select * from customers where cust_res_country = 'polland' and cust_type = 'premier' show all customers having salary greater than 65000,select * from customers where cust_annual_sal > 65000 show all customers having salary less than 65000,select * from customers where cust_annual_sal < 65000 show all customers having salary equal to 65000,select * from customers where cust_annual_sal = 65000 find all married customers having salary greater than 65000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 65000 find all single customers having salary less than 65000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 65000 show all customers from polland having salary more than 65000,select * from customers where cust_res_country = 'polland' and cust_annual_sal > 65000; show all married customers from polland having salary less than 65000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'polland' and cust_annual_sal < 65000 show all single customers from polland having salary less than 65000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'polland' and cust_annual_sal < 65000 find all business type customers from polland having salary equal to 65000,select * from customers where cust_type = 'business' and cust_res_country = 'polland' and cust_annual_sal = 65000 find all premier type customers from polland having salary equal to 65000,select * from customers where cust_type = 'premier' and cust_res_country = 'polland' and cust_annual_sal = 65000 find all regular type customers from polland having salary greater than 65000,select * from customers where cust_type = 'regular' and cust_res_country = 'polland' and cust_annual_sal > 65000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from polland,select cust_mem_num from customers where cust_res_country = 'polland' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from polland having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from polland having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from polland having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from polland having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from polland having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from polland having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from polland having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from polland having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from polland having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from polland having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from polland having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from polland having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from polland having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from polland having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from polland having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from polland having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from polland having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from polland having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from polland having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from polland having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from polland having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from polland having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from polland having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from polland having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from polland having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from polland having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'polland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 65000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 65000 and pdt_cls_cde = 'mo' show all customers having salary greater than 65000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 65000 and pdt_cls_cde = 'sa' show all customers having salary greater than 65000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 65000 and pdt_cls_cde = 'iv' show all customers having salary greater than 65000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 65000 and pdt_cls_cde = 'cu' show all customers having salary greater than 65000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 65000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 65000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 65000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 65000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 65000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 65000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 65000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from polland having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'polland' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from ukraine,select * from customers where cust_res_country = 'ukraine' find all married customers from ukraine,select * from customers where cust_res_country = 'ukraine' and cust_mar_stat = 'married' find all single customers from ukraine,select * from customers where cust_res_country = 'ukraine' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from ukraine,select * from customers where cust_res_country = 'ukraine' and cust_type = 'regular' find all business type customers from ukraine,select * from customers where cust_res_country = 'ukraine' and cust_type = 'business' find all premier type customers from ukraine,select * from customers where cust_res_country = 'ukraine' and cust_type = 'premier' show all customers having salary greater than 85000,select * from customers where cust_annual_sal > 85000 show all customers having salary less than 85000,select * from customers where cust_annual_sal < 85000 show all customers having salary equal to 85000,select * from customers where cust_annual_sal = 85000 find all married customers having salary greater than 85000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 85000 find all single customers having salary less than 85000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 85000 show all customers from ukraine having salary more than 85000,select * from customers where cust_res_country = 'ukraine' and cust_annual_sal > 85000; show all married customers from ukraine having salary less than 85000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'ukraine' and cust_annual_sal < 85000 show all single customers from ukraine having salary less than 85000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'ukraine' and cust_annual_sal < 85000 find all business type customers from ukraine having salary equal to 85000,select * from customers where cust_type = 'business' and cust_res_country = 'ukraine' and cust_annual_sal = 85000 find all premier type customers from ukraine having salary equal to 85000,select * from customers where cust_type = 'premier' and cust_res_country = 'ukraine' and cust_annual_sal = 85000 find all regular type customers from ukraine having salary greater than 85000,select * from customers where cust_type = 'regular' and cust_res_country = 'ukraine' and cust_annual_sal > 85000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from ukraine,select cust_mem_num from customers where cust_res_country = 'ukraine' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from ukraine having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from ukraine having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from ukraine having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from ukraine having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from ukraine having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from ukraine having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from ukraine having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from ukraine having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from ukraine having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from ukraine having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from ukraine having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from ukraine having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from ukraine having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from ukraine having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from ukraine having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from ukraine having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from ukraine having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from ukraine having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from ukraine having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from ukraine having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from ukraine having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from ukraine having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from ukraine having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from ukraine having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from ukraine having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from ukraine having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ukraine' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 85000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 85000 and pdt_cls_cde = 'mo' show all customers having salary greater than 85000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 85000 and pdt_cls_cde = 'sa' show all customers having salary greater than 85000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 85000 and pdt_cls_cde = 'iv' show all customers having salary greater than 85000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 85000 and pdt_cls_cde = 'cu' show all customers having salary greater than 85000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 85000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 85000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 85000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 85000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 85000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 85000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 85000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from ukraine having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'ukraine' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from dubai,select * from customers where cust_res_country = 'dubai' find all married customers from dubai,select * from customers where cust_res_country = 'dubai' and cust_mar_stat = 'married' find all single customers from dubai,select * from customers where cust_res_country = 'dubai' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from dubai,select * from customers where cust_res_country = 'dubai' and cust_type = 'regular' find all business type customers from dubai,select * from customers where cust_res_country = 'dubai' and cust_type = 'business' find all premier type customers from dubai,select * from customers where cust_res_country = 'dubai' and cust_type = 'premier' show all customers having salary greater than 45000,select * from customers where cust_annual_sal > 45000 show all customers having salary less than 45000,select * from customers where cust_annual_sal < 45000 show all customers having salary equal to 45000,select * from customers where cust_annual_sal = 45000 find all married customers having salary greater than 45000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 45000 find all single customers having salary less than 45000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 45000 show all customers from dubai having salary more than 45000,select * from customers where cust_res_country = 'dubai' and cust_annual_sal > 45000; show all married customers from dubai having salary less than 45000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'dubai' and cust_annual_sal < 45000 show all single customers from dubai having salary less than 45000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'dubai' and cust_annual_sal < 45000 find all business type customers from dubai having salary equal to 45000,select * from customers where cust_type = 'business' and cust_res_country = 'dubai' and cust_annual_sal = 45000 find all premier type customers from dubai having salary equal to 45000,select * from customers where cust_type = 'premier' and cust_res_country = 'dubai' and cust_annual_sal = 45000 find all regular type customers from dubai having salary greater than 45000,select * from customers where cust_type = 'regular' and cust_res_country = 'dubai' and cust_annual_sal > 45000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from dubai,select cust_mem_num from customers where cust_res_country = 'dubai' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from dubai having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from dubai having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from dubai having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from dubai having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from dubai having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from dubai having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from dubai having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from dubai having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from dubai having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from dubai having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from dubai having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from dubai having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from dubai having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from dubai having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from dubai having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from dubai having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from dubai having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from dubai having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from dubai having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from dubai having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from dubai having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from dubai having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from dubai having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from dubai having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from dubai having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from dubai having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'dubai' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 45000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 45000 and pdt_cls_cde = 'mo' show all customers having salary greater than 45000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 45000 and pdt_cls_cde = 'sa' show all customers having salary greater than 45000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 45000 and pdt_cls_cde = 'iv' show all customers having salary greater than 45000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 45000 and pdt_cls_cde = 'cu' show all customers having salary greater than 45000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 45000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 45000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 45000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 45000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 45000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 45000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 45000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from dubai having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'dubai' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from australia,select * from customers where cust_res_country = 'australia' find all married customers from australia,select * from customers where cust_res_country = 'australia' and cust_mar_stat = 'married' find all single customers from australia,select * from customers where cust_res_country = 'australia' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from australia,select * from customers where cust_res_country = 'australia' and cust_type = 'regular' find all business type customers from australia,select * from customers where cust_res_country = 'australia' and cust_type = 'business' find all premier type customers from australia,select * from customers where cust_res_country = 'australia' and cust_type = 'premier' show all customers having salary greater than 65300,select * from customers where cust_annual_sal > 65300 show all customers having salary less than 65300,select * from customers where cust_annual_sal < 65300 show all customers having salary equal to 65300,select * from customers where cust_annual_sal = 65300 find all married customers having salary greater than 65300,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 65300 find all single customers having salary less than 65300,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 65300 show all customers from australia having salary more than 65300,select * from customers where cust_res_country = 'australia' and cust_annual_sal > 65300; show all married customers from australia having salary less than 65300,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'australia' and cust_annual_sal < 65300 show all single customers from australia having salary less than 65300,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'australia' and cust_annual_sal < 65300 find all business type customers from australia having salary equal to 65300,select * from customers where cust_type = 'business' and cust_res_country = 'australia' and cust_annual_sal = 65300 find all premier type customers from australia having salary equal to 65300,select * from customers where cust_type = 'premier' and cust_res_country = 'australia' and cust_annual_sal = 65300 find all regular type customers from australia having salary greater than 65300,select * from customers where cust_type = 'regular' and cust_res_country = 'australia' and cust_annual_sal > 65300 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from australia,select cust_mem_num from customers where cust_res_country = 'australia' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from australia having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from australia having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from australia having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from australia having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from australia having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from australia having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from australia having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from australia having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from australia having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from australia having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from australia having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from australia having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from australia having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from australia having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from australia having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from australia having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from australia having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from australia having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from australia having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from australia having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from australia having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from australia having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from australia having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from australia having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from australia having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from australia having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'australia' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 65300 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 65300 and pdt_cls_cde = 'mo' show all customers having salary greater than 65300 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 65300 and pdt_cls_cde = 'sa' show all customers having salary greater than 65300 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 65300 and pdt_cls_cde = 'iv' show all customers having salary greater than 65300 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 65300 and pdt_cls_cde = 'cu' show all customers having salary greater than 65300 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 65300 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 65300 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 65300 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 65300 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 65300 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 65300 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 65300 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from australia having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'australia' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from turkey,select * from customers where cust_res_country = 'turkey' find all married customers from turkey,select * from customers where cust_res_country = 'turkey' and cust_mar_stat = 'married' find all single customers from turkey,select * from customers where cust_res_country = 'turkey' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from turkey,select * from customers where cust_res_country = 'turkey' and cust_type = 'regular' find all business type customers from turkey,select * from customers where cust_res_country = 'turkey' and cust_type = 'business' find all premier type customers from turkey,select * from customers where cust_res_country = 'turkey' and cust_type = 'premier' show all customers having salary greater than 65300,select * from customers where cust_annual_sal > 65300 show all customers having salary less than 65300,select * from customers where cust_annual_sal < 65300 show all customers having salary equal to 65300,select * from customers where cust_annual_sal = 65300 find all married customers having salary greater than 65300,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 65300 find all single customers having salary less than 65300,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 65300 show all customers from turkey having salary more than 65300,select * from customers where cust_res_country = 'turkey' and cust_annual_sal > 65300; show all married customers from turkey having salary less than 65300,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'turkey' and cust_annual_sal < 65300 show all single customers from turkey having salary less than 65300,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'turkey' and cust_annual_sal < 65300 find all business type customers from turkey having salary equal to 65300,select * from customers where cust_type = 'business' and cust_res_country = 'turkey' and cust_annual_sal = 65300 find all premier type customers from turkey having salary equal to 65300,select * from customers where cust_type = 'premier' and cust_res_country = 'turkey' and cust_annual_sal = 65300 find all regular type customers from turkey having salary greater than 65300,select * from customers where cust_type = 'regular' and cust_res_country = 'turkey' and cust_annual_sal > 65300 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from turkey,select cust_mem_num from customers where cust_res_country = 'turkey' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from turkey having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from turkey having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from turkey having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from turkey having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from turkey having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from turkey having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from turkey having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from turkey having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from turkey having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from turkey having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from turkey having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from turkey having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from turkey having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from turkey having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from turkey having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from turkey having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from turkey having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from turkey having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from turkey having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from turkey having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from turkey having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from turkey having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from turkey having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from turkey having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from turkey having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from turkey having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'turkey' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 65300 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 65300 and pdt_cls_cde = 'mo' show all customers having salary greater than 65300 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 65300 and pdt_cls_cde = 'sa' show all customers having salary greater than 65300 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 65300 and pdt_cls_cde = 'iv' show all customers having salary greater than 65300 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 65300 and pdt_cls_cde = 'cu' show all customers having salary greater than 65300 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 65300 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 65300 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 65300 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 65300 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 65300 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 65300 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 65300 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from turkey having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'turkey' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from iran,select * from customers where cust_res_country = 'iran' find all married customers from iran,select * from customers where cust_res_country = 'iran' and cust_mar_stat = 'married' find all single customers from iran,select * from customers where cust_res_country = 'iran' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from iran,select * from customers where cust_res_country = 'iran' and cust_type = 'regular' find all business type customers from iran,select * from customers where cust_res_country = 'iran' and cust_type = 'business' find all premier type customers from iran,select * from customers where cust_res_country = 'iran' and cust_type = 'premier' show all customers having salary greater than 12000,select * from customers where cust_annual_sal > 12000 show all customers having salary less than 12000,select * from customers where cust_annual_sal < 12000 show all customers having salary equal to 12000,select * from customers where cust_annual_sal = 12000 find all married customers having salary greater than 12000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 12000 find all single customers having salary less than 12000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 12000 show all customers from iran having salary more than 12000,select * from customers where cust_res_country = 'iran' and cust_annual_sal > 12000; show all married customers from iran having salary less than 12000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'iran' and cust_annual_sal < 12000 show all single customers from iran having salary less than 12000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'iran' and cust_annual_sal < 12000 find all business type customers from iran having salary equal to 12000,select * from customers where cust_type = 'business' and cust_res_country = 'iran' and cust_annual_sal = 12000 find all premier type customers from iran having salary equal to 12000,select * from customers where cust_type = 'premier' and cust_res_country = 'iran' and cust_annual_sal = 12000 find all regular type customers from iran having salary greater than 12000,select * from customers where cust_type = 'regular' and cust_res_country = 'iran' and cust_annual_sal > 12000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from iran,select cust_mem_num from customers where cust_res_country = 'iran' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from iran having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from iran having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from iran having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from iran having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from iran having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from iran having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from iran having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from iran having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from iran having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from iran having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from iran having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from iran having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from iran having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from iran having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from iran having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from iran having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from iran having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from iran having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from iran having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from iran having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from iran having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from iran having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from iran having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from iran having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from iran having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from iran having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'iran' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 12000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 12000 and pdt_cls_cde = 'mo' show all customers having salary greater than 12000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 12000 and pdt_cls_cde = 'sa' show all customers having salary greater than 12000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 12000 and pdt_cls_cde = 'iv' show all customers having salary greater than 12000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 12000 and pdt_cls_cde = 'cu' show all customers having salary greater than 12000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 12000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 12000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 12000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 12000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 12000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 12000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 12000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from iran having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'iran' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from ghana,select * from customers where cust_res_country = 'ghana' find all married customers from ghana,select * from customers where cust_res_country = 'ghana' and cust_mar_stat = 'married' find all single customers from ghana,select * from customers where cust_res_country = 'ghana' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from ghana,select * from customers where cust_res_country = 'ghana' and cust_type = 'regular' find all business type customers from ghana,select * from customers where cust_res_country = 'ghana' and cust_type = 'business' find all premier type customers from ghana,select * from customers where cust_res_country = 'ghana' and cust_type = 'premier' show all customers having salary greater than 12000,select * from customers where cust_annual_sal > 12000 show all customers having salary less than 12000,select * from customers where cust_annual_sal < 12000 show all customers having salary equal to 12000,select * from customers where cust_annual_sal = 12000 find all married customers having salary greater than 12000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 12000 find all single customers having salary less than 12000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 12000 show all customers from ghana having salary more than 12000,select * from customers where cust_res_country = 'ghana' and cust_annual_sal > 12000; show all married customers from ghana having salary less than 12000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'ghana' and cust_annual_sal < 12000 show all single customers from ghana having salary less than 12000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'ghana' and cust_annual_sal < 12000 find all business type customers from ghana having salary equal to 12000,select * from customers where cust_type = 'business' and cust_res_country = 'ghana' and cust_annual_sal = 12000 find all premier type customers from ghana having salary equal to 12000,select * from customers where cust_type = 'premier' and cust_res_country = 'ghana' and cust_annual_sal = 12000 find all regular type customers from ghana having salary greater than 12000,select * from customers where cust_type = 'regular' and cust_res_country = 'ghana' and cust_annual_sal > 12000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from ghana,select cust_mem_num from customers where cust_res_country = 'ghana' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from ghana having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from ghana having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from ghana having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from ghana having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from ghana having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from ghana having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from ghana having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from ghana having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from ghana having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from ghana having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from ghana having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from ghana having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from ghana having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from ghana having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from ghana having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from ghana having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from ghana having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from ghana having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from ghana having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from ghana having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from ghana having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from ghana having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from ghana having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from ghana having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from ghana having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from ghana having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'ghana' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 12000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 12000 and pdt_cls_cde = 'mo' show all customers having salary greater than 12000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 12000 and pdt_cls_cde = 'sa' show all customers having salary greater than 12000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 12000 and pdt_cls_cde = 'iv' show all customers having salary greater than 12000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 12000 and pdt_cls_cde = 'cu' show all customers having salary greater than 12000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 12000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 12000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 12000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 12000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 12000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 12000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 12000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from ghana having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'ghana' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from istanbul,select * from customers where cust_res_country = 'istanbul' find all married customers from istanbul,select * from customers where cust_res_country = 'istanbul' and cust_mar_stat = 'married' find all single customers from istanbul,select * from customers where cust_res_country = 'istanbul' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from istanbul,select * from customers where cust_res_country = 'istanbul' and cust_type = 'regular' find all business type customers from istanbul,select * from customers where cust_res_country = 'istanbul' and cust_type = 'business' find all premier type customers from istanbul,select * from customers where cust_res_country = 'istanbul' and cust_type = 'premier' show all customers having salary greater than 86000,select * from customers where cust_annual_sal > 86000 show all customers having salary less than 86000,select * from customers where cust_annual_sal < 86000 show all customers having salary equal to 86000,select * from customers where cust_annual_sal = 86000 find all married customers having salary greater than 86000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 86000 find all single customers having salary less than 86000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 86000 show all customers from istanbul having salary more than 86000,select * from customers where cust_res_country = 'istanbul' and cust_annual_sal > 86000; show all married customers from istanbul having salary less than 86000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'istanbul' and cust_annual_sal < 86000 show all single customers from istanbul having salary less than 86000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'istanbul' and cust_annual_sal < 86000 find all business type customers from istanbul having salary equal to 86000,select * from customers where cust_type = 'business' and cust_res_country = 'istanbul' and cust_annual_sal = 86000 find all premier type customers from istanbul having salary equal to 86000,select * from customers where cust_type = 'premier' and cust_res_country = 'istanbul' and cust_annual_sal = 86000 find all regular type customers from istanbul having salary greater than 86000,select * from customers where cust_type = 'regular' and cust_res_country = 'istanbul' and cust_annual_sal > 86000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from istanbul,select cust_mem_num from customers where cust_res_country = 'istanbul' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from istanbul having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from istanbul having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from istanbul having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from istanbul having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from istanbul having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from istanbul having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from istanbul having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from istanbul having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from istanbul having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from istanbul having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from istanbul having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from istanbul having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from istanbul having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from istanbul having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from istanbul having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from istanbul having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from istanbul having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from istanbul having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from istanbul having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from istanbul having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from istanbul having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from istanbul having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from istanbul having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from istanbul having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from istanbul having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from istanbul having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'istanbul' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 86000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 86000 and pdt_cls_cde = 'mo' show all customers having salary greater than 86000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 86000 and pdt_cls_cde = 'sa' show all customers having salary greater than 86000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 86000 and pdt_cls_cde = 'iv' show all customers having salary greater than 86000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 86000 and pdt_cls_cde = 'cu' show all customers having salary greater than 86000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 86000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 86000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 86000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 86000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 86000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 86000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 86000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from istanbul having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'istanbul' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from hong kong,select * from customers where cust_res_country = 'hong kong' find all married customers from hong kong,select * from customers where cust_res_country = 'hong kong' and cust_mar_stat = 'married' find all single customers from hong kong,select * from customers where cust_res_country = 'hong kong' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from hong kong,select * from customers where cust_res_country = 'hong kong' and cust_type = 'regular' find all business type customers from hong kong,select * from customers where cust_res_country = 'hong kong' and cust_type = 'business' find all premier type customers from hong kong,select * from customers where cust_res_country = 'hong kong' and cust_type = 'premier' show all customers having salary greater than 98000,select * from customers where cust_annual_sal > 98000 show all customers having salary less than 98000,select * from customers where cust_annual_sal < 98000 show all customers having salary equal to 98000,select * from customers where cust_annual_sal = 98000 find all married customers having salary greater than 98000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 98000 find all single customers having salary less than 98000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 98000 show all customers from hong kong having salary more than 98000,select * from customers where cust_res_country = 'hong kong' and cust_annual_sal > 98000; show all married customers from hong kong having salary less than 98000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'hong kong' and cust_annual_sal < 98000 show all single customers from hong kong having salary less than 98000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'hong kong' and cust_annual_sal < 98000 find all business type customers from hong kong having salary equal to 98000,select * from customers where cust_type = 'business' and cust_res_country = 'hong kong' and cust_annual_sal = 98000 find all premier type customers from hong kong having salary equal to 98000,select * from customers where cust_type = 'premier' and cust_res_country = 'hong kong' and cust_annual_sal = 98000 find all regular type customers from hong kong having salary greater than 98000,select * from customers where cust_type = 'regular' and cust_res_country = 'hong kong' and cust_annual_sal > 98000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from hong kong,select cust_mem_num from customers where cust_res_country = 'hong kong' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from hong kong having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from hong kong having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from hong kong having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from hong kong having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from hong kong having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from hong kong having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from hong kong having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from hong kong having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from hong kong having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from hong kong having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from hong kong having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from hong kong having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from hong kong having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from hong kong having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from hong kong having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from hong kong having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from hong kong having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from hong kong having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from hong kong having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from hong kong having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from hong kong having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from hong kong having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from hong kong having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from hong kong having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from hong kong having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from hong kong having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'hong kong' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 98000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 98000 and pdt_cls_cde = 'mo' show all customers having salary greater than 98000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 98000 and pdt_cls_cde = 'sa' show all customers having salary greater than 98000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 98000 and pdt_cls_cde = 'iv' show all customers having salary greater than 98000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 98000 and pdt_cls_cde = 'cu' show all customers having salary greater than 98000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 98000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 98000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 98000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 98000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 98000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 98000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 98000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from hong kong having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'hong kong' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from portugal,select * from customers where cust_res_country = 'portugal' find all married customers from portugal,select * from customers where cust_res_country = 'portugal' and cust_mar_stat = 'married' find all single customers from portugal,select * from customers where cust_res_country = 'portugal' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from portugal,select * from customers where cust_res_country = 'portugal' and cust_type = 'regular' find all business type customers from portugal,select * from customers where cust_res_country = 'portugal' and cust_type = 'business' find all premier type customers from portugal,select * from customers where cust_res_country = 'portugal' and cust_type = 'premier' show all customers having salary greater than 25000,select * from customers where cust_annual_sal > 25000 show all customers having salary less than 25000,select * from customers where cust_annual_sal < 25000 show all customers having salary equal to 25000,select * from customers where cust_annual_sal = 25000 find all married customers having salary greater than 25000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 25000 find all single customers having salary less than 25000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 25000 show all customers from portugal having salary more than 25000,select * from customers where cust_res_country = 'portugal' and cust_annual_sal > 25000; show all married customers from portugal having salary less than 25000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'portugal' and cust_annual_sal < 25000 show all single customers from portugal having salary less than 25000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'portugal' and cust_annual_sal < 25000 find all business type customers from portugal having salary equal to 25000,select * from customers where cust_type = 'business' and cust_res_country = 'portugal' and cust_annual_sal = 25000 find all premier type customers from portugal having salary equal to 25000,select * from customers where cust_type = 'premier' and cust_res_country = 'portugal' and cust_annual_sal = 25000 find all regular type customers from portugal having salary greater than 25000,select * from customers where cust_type = 'regular' and cust_res_country = 'portugal' and cust_annual_sal > 25000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from portugal,select cust_mem_num from customers where cust_res_country = 'portugal' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from portugal having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from portugal having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from portugal having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from portugal having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from portugal having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from portugal having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from portugal having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from portugal having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from portugal having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from portugal having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from portugal having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from portugal having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from portugal having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from portugal having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from portugal having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from portugal having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from portugal having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from portugal having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from portugal having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from portugal having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from portugal having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from portugal having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from portugal having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from portugal having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from portugal having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from portugal having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'portugal' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 25000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 25000 and pdt_cls_cde = 'mo' show all customers having salary greater than 25000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 25000 and pdt_cls_cde = 'sa' show all customers having salary greater than 25000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 25000 and pdt_cls_cde = 'iv' show all customers having salary greater than 25000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 25000 and pdt_cls_cde = 'cu' show all customers having salary greater than 25000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 25000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 25000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 25000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 25000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 25000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 25000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 25000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from portugal having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'portugal' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from bangladesh,select * from customers where cust_res_country = 'bangladesh' find all married customers from bangladesh,select * from customers where cust_res_country = 'bangladesh' and cust_mar_stat = 'married' find all single customers from bangladesh,select * from customers where cust_res_country = 'bangladesh' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from bangladesh,select * from customers where cust_res_country = 'bangladesh' and cust_type = 'regular' find all business type customers from bangladesh,select * from customers where cust_res_country = 'bangladesh' and cust_type = 'business' find all premier type customers from bangladesh,select * from customers where cust_res_country = 'bangladesh' and cust_type = 'premier' show all customers having salary greater than 74000,select * from customers where cust_annual_sal > 74000 show all customers having salary less than 74000,select * from customers where cust_annual_sal < 74000 show all customers having salary equal to 74000,select * from customers where cust_annual_sal = 74000 find all married customers having salary greater than 74000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 74000 find all single customers having salary less than 74000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 74000 show all customers from bangladesh having salary more than 74000,select * from customers where cust_res_country = 'bangladesh' and cust_annual_sal > 74000; show all married customers from bangladesh having salary less than 74000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'bangladesh' and cust_annual_sal < 74000 show all single customers from bangladesh having salary less than 74000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'bangladesh' and cust_annual_sal < 74000 find all business type customers from bangladesh having salary equal to 74000,select * from customers where cust_type = 'business' and cust_res_country = 'bangladesh' and cust_annual_sal = 74000 find all premier type customers from bangladesh having salary equal to 74000,select * from customers where cust_type = 'premier' and cust_res_country = 'bangladesh' and cust_annual_sal = 74000 find all regular type customers from bangladesh having salary greater than 74000,select * from customers where cust_type = 'regular' and cust_res_country = 'bangladesh' and cust_annual_sal > 74000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from bangladesh,select cust_mem_num from customers where cust_res_country = 'bangladesh' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from bangladesh having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from bangladesh having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from bangladesh having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from bangladesh having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from bangladesh having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from bangladesh having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from bangladesh having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from bangladesh having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from bangladesh having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from bangladesh having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from bangladesh having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from bangladesh having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from bangladesh having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from bangladesh having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from bangladesh having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from bangladesh having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from bangladesh having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from bangladesh having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from bangladesh having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from bangladesh having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from bangladesh having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from bangladesh having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from bangladesh having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from bangladesh having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from bangladesh having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from bangladesh having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bangladesh' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 74000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 74000 and pdt_cls_cde = 'mo' show all customers having salary greater than 74000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 74000 and pdt_cls_cde = 'sa' show all customers having salary greater than 74000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 74000 and pdt_cls_cde = 'iv' show all customers having salary greater than 74000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 74000 and pdt_cls_cde = 'cu' show all customers having salary greater than 74000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 74000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 74000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 74000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 74000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 74000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 74000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 74000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from bangladesh having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'bangladesh' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from pakistan,select * from customers where cust_res_country = 'pakistan' find all married customers from pakistan,select * from customers where cust_res_country = 'pakistan' and cust_mar_stat = 'married' find all single customers from pakistan,select * from customers where cust_res_country = 'pakistan' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from pakistan,select * from customers where cust_res_country = 'pakistan' and cust_type = 'regular' find all business type customers from pakistan,select * from customers where cust_res_country = 'pakistan' and cust_type = 'business' find all premier type customers from pakistan,select * from customers where cust_res_country = 'pakistan' and cust_type = 'premier' show all customers having salary greater than 2800,select * from customers where cust_annual_sal > 2800 show all customers having salary less than 2800,select * from customers where cust_annual_sal < 2800 show all customers having salary equal to 2800,select * from customers where cust_annual_sal = 2800 find all married customers having salary greater than 2800,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 2800 find all single customers having salary less than 2800,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 2800 show all customers from pakistan having salary more than 2800,select * from customers where cust_res_country = 'pakistan' and cust_annual_sal > 2800; show all married customers from pakistan having salary less than 2800,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'pakistan' and cust_annual_sal < 2800 show all single customers from pakistan having salary less than 2800,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'pakistan' and cust_annual_sal < 2800 find all business type customers from pakistan having salary equal to 2800,select * from customers where cust_type = 'business' and cust_res_country = 'pakistan' and cust_annual_sal = 2800 find all premier type customers from pakistan having salary equal to 2800,select * from customers where cust_type = 'premier' and cust_res_country = 'pakistan' and cust_annual_sal = 2800 find all regular type customers from pakistan having salary greater than 2800,select * from customers where cust_type = 'regular' and cust_res_country = 'pakistan' and cust_annual_sal > 2800 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from pakistan,select cust_mem_num from customers where cust_res_country = 'pakistan' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from pakistan having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from pakistan having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from pakistan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from pakistan having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from pakistan having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from pakistan having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from pakistan having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from pakistan having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from pakistan having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from pakistan having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from pakistan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from pakistan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from pakistan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from pakistan having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from pakistan having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from pakistan having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from pakistan having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from pakistan having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from pakistan having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from pakistan having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from pakistan having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from pakistan having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from pakistan having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from pakistan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from pakistan having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from pakistan having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'pakistan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 2800 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 2800 and pdt_cls_cde = 'mo' show all customers having salary greater than 2800 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 2800 and pdt_cls_cde = 'sa' show all customers having salary greater than 2800 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 2800 and pdt_cls_cde = 'iv' show all customers having salary greater than 2800 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 2800 and pdt_cls_cde = 'cu' show all customers having salary greater than 2800 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 2800 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 2800 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 2800 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 2800 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 2800 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 2800 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 2800 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from pakistan having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'pakistan' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from china,select * from customers where cust_res_country = 'china' find all married customers from china,select * from customers where cust_res_country = 'china' and cust_mar_stat = 'married' find all single customers from china,select * from customers where cust_res_country = 'china' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from china,select * from customers where cust_res_country = 'china' and cust_type = 'regular' find all business type customers from china,select * from customers where cust_res_country = 'china' and cust_type = 'business' find all premier type customers from china,select * from customers where cust_res_country = 'china' and cust_type = 'premier' show all customers having salary greater than 56500,select * from customers where cust_annual_sal > 56500 show all customers having salary less than 56500,select * from customers where cust_annual_sal < 56500 show all customers having salary equal to 56500,select * from customers where cust_annual_sal = 56500 find all married customers having salary greater than 56500,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 56500 find all single customers having salary less than 56500,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 56500 show all customers from china having salary more than 56500,select * from customers where cust_res_country = 'china' and cust_annual_sal > 56500; show all married customers from china having salary less than 56500,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'china' and cust_annual_sal < 56500 show all single customers from china having salary less than 56500,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'china' and cust_annual_sal < 56500 find all business type customers from china having salary equal to 56500,select * from customers where cust_type = 'business' and cust_res_country = 'china' and cust_annual_sal = 56500 find all premier type customers from china having salary equal to 56500,select * from customers where cust_type = 'premier' and cust_res_country = 'china' and cust_annual_sal = 56500 find all regular type customers from china having salary greater than 56500,select * from customers where cust_type = 'regular' and cust_res_country = 'china' and cust_annual_sal > 56500 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from china,select cust_mem_num from customers where cust_res_country = 'china' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from china having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from china having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from china having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from china having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from china having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from china having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from china having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from china having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from china having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from china having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from china having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from china having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from china having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from china having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from china having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from china having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from china having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from china having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from china having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from china having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from china having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from china having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from china having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from china having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from china having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from china having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'china' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 56500 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 56500 and pdt_cls_cde = 'mo' show all customers having salary greater than 56500 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 56500 and pdt_cls_cde = 'sa' show all customers having salary greater than 56500 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 56500 and pdt_cls_cde = 'iv' show all customers having salary greater than 56500 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 56500 and pdt_cls_cde = 'cu' show all customers having salary greater than 56500 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 56500 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 56500 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 56500 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 56500 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 56500 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 56500 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 56500 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from china having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'china' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from bhutan,select * from customers where cust_res_country = 'bhutan' find all married customers from bhutan,select * from customers where cust_res_country = 'bhutan' and cust_mar_stat = 'married' find all single customers from bhutan,select * from customers where cust_res_country = 'bhutan' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from bhutan,select * from customers where cust_res_country = 'bhutan' and cust_type = 'regular' find all business type customers from bhutan,select * from customers where cust_res_country = 'bhutan' and cust_type = 'business' find all premier type customers from bhutan,select * from customers where cust_res_country = 'bhutan' and cust_type = 'premier' show all customers having salary greater than 56500,select * from customers where cust_annual_sal > 56500 show all customers having salary less than 56500,select * from customers where cust_annual_sal < 56500 show all customers having salary equal to 56500,select * from customers where cust_annual_sal = 56500 find all married customers having salary greater than 56500,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 56500 find all single customers having salary less than 56500,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 56500 show all customers from bhutan having salary more than 56500,select * from customers where cust_res_country = 'bhutan' and cust_annual_sal > 56500; show all married customers from bhutan having salary less than 56500,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'bhutan' and cust_annual_sal < 56500 show all single customers from bhutan having salary less than 56500,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'bhutan' and cust_annual_sal < 56500 find all business type customers from bhutan having salary equal to 56500,select * from customers where cust_type = 'business' and cust_res_country = 'bhutan' and cust_annual_sal = 56500 find all premier type customers from bhutan having salary equal to 56500,select * from customers where cust_type = 'premier' and cust_res_country = 'bhutan' and cust_annual_sal = 56500 find all regular type customers from bhutan having salary greater than 56500,select * from customers where cust_type = 'regular' and cust_res_country = 'bhutan' and cust_annual_sal > 56500 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from bhutan,select cust_mem_num from customers where cust_res_country = 'bhutan' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from bhutan having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from bhutan having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from bhutan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from bhutan having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from bhutan having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from bhutan having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from bhutan having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from bhutan having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from bhutan having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from bhutan having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from bhutan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from bhutan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from bhutan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from bhutan having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from bhutan having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from bhutan having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from bhutan having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from bhutan having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from bhutan having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from bhutan having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from bhutan having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from bhutan having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from bhutan having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from bhutan having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from bhutan having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from bhutan having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'bhutan' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 56500 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 56500 and pdt_cls_cde = 'mo' show all customers having salary greater than 56500 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 56500 and pdt_cls_cde = 'sa' show all customers having salary greater than 56500 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 56500 and pdt_cls_cde = 'iv' show all customers having salary greater than 56500 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 56500 and pdt_cls_cde = 'cu' show all customers having salary greater than 56500 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 56500 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 56500 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 56500 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 56500 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 56500 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 56500 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 56500 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from bhutan having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'bhutan' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from nigeria,select * from customers where cust_res_country = 'nigeria' find all married customers from nigeria,select * from customers where cust_res_country = 'nigeria' and cust_mar_stat = 'married' find all single customers from nigeria,select * from customers where cust_res_country = 'nigeria' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from nigeria,select * from customers where cust_res_country = 'nigeria' and cust_type = 'regular' find all business type customers from nigeria,select * from customers where cust_res_country = 'nigeria' and cust_type = 'business' find all premier type customers from nigeria,select * from customers where cust_res_country = 'nigeria' and cust_type = 'premier' show all customers having salary greater than 48000,select * from customers where cust_annual_sal > 48000 show all customers having salary less than 48000,select * from customers where cust_annual_sal < 48000 show all customers having salary equal to 48000,select * from customers where cust_annual_sal = 48000 find all married customers having salary greater than 48000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 48000 find all single customers having salary less than 48000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 48000 show all customers from nigeria having salary more than 48000,select * from customers where cust_res_country = 'nigeria' and cust_annual_sal > 48000; show all married customers from nigeria having salary less than 48000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'nigeria' and cust_annual_sal < 48000 show all single customers from nigeria having salary less than 48000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'nigeria' and cust_annual_sal < 48000 find all business type customers from nigeria having salary equal to 48000,select * from customers where cust_type = 'business' and cust_res_country = 'nigeria' and cust_annual_sal = 48000 find all premier type customers from nigeria having salary equal to 48000,select * from customers where cust_type = 'premier' and cust_res_country = 'nigeria' and cust_annual_sal = 48000 find all regular type customers from nigeria having salary greater than 48000,select * from customers where cust_type = 'regular' and cust_res_country = 'nigeria' and cust_annual_sal > 48000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from nigeria,select cust_mem_num from customers where cust_res_country = 'nigeria' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from nigeria having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from nigeria having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from nigeria having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from nigeria having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from nigeria having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from nigeria having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from nigeria having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from nigeria having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from nigeria having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from nigeria having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from nigeria having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from nigeria having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from nigeria having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from nigeria having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from nigeria having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from nigeria having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from nigeria having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from nigeria having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from nigeria having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from nigeria having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from nigeria having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from nigeria having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from nigeria having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from nigeria having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from nigeria having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from nigeria having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'nigeria' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 48000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 48000 and pdt_cls_cde = 'mo' show all customers having salary greater than 48000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 48000 and pdt_cls_cde = 'sa' show all customers having salary greater than 48000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 48000 and pdt_cls_cde = 'iv' show all customers having salary greater than 48000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 48000 and pdt_cls_cde = 'cu' show all customers having salary greater than 48000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 48000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 48000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 48000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 48000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 48000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 48000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 48000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from nigeria having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'nigeria' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from finland,select * from customers where cust_res_country = 'finland' find all married customers from finland,select * from customers where cust_res_country = 'finland' and cust_mar_stat = 'married' find all single customers from finland,select * from customers where cust_res_country = 'finland' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from finland,select * from customers where cust_res_country = 'finland' and cust_type = 'regular' find all business type customers from finland,select * from customers where cust_res_country = 'finland' and cust_type = 'business' find all premier type customers from finland,select * from customers where cust_res_country = 'finland' and cust_type = 'premier' show all customers having salary greater than 26500,select * from customers where cust_annual_sal > 26500 show all customers having salary less than 26500,select * from customers where cust_annual_sal < 26500 show all customers having salary equal to 26500,select * from customers where cust_annual_sal = 26500 find all married customers having salary greater than 26500,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 26500 find all single customers having salary less than 26500,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 26500 show all customers from finland having salary more than 26500,select * from customers where cust_res_country = 'finland' and cust_annual_sal > 26500; show all married customers from finland having salary less than 26500,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'finland' and cust_annual_sal < 26500 show all single customers from finland having salary less than 26500,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'finland' and cust_annual_sal < 26500 find all business type customers from finland having salary equal to 26500,select * from customers where cust_type = 'business' and cust_res_country = 'finland' and cust_annual_sal = 26500 find all premier type customers from finland having salary equal to 26500,select * from customers where cust_type = 'premier' and cust_res_country = 'finland' and cust_annual_sal = 26500 find all regular type customers from finland having salary greater than 26500,select * from customers where cust_type = 'regular' and cust_res_country = 'finland' and cust_annual_sal > 26500 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from finland,select cust_mem_num from customers where cust_res_country = 'finland' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from finland having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from finland having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from finland having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from finland having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from finland having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from finland having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from finland having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from finland having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from finland having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from finland having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from finland having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from finland having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from finland having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from finland having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from finland having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from finland having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from finland having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from finland having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from finland having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from finland having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from finland having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from finland having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from finland having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from finland having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from finland having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from finland having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'finland' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 26500 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 26500 and pdt_cls_cde = 'mo' show all customers having salary greater than 26500 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 26500 and pdt_cls_cde = 'sa' show all customers having salary greater than 26500 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 26500 and pdt_cls_cde = 'iv' show all customers having salary greater than 26500 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 26500 and pdt_cls_cde = 'cu' show all customers having salary greater than 26500 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 26500 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 26500 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 26500 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 26500 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 26500 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 26500 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 26500 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from finland having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'finland' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' find all customers from india,select * from customers where cust_res_country = 'india' find all married customers from india,select * from customers where cust_res_country = 'india' and cust_mar_stat = 'married' find all single customers from india,select * from customers where cust_res_country = 'india' and cust_mar_stat = 'single' find all regular type customers,select * from customers where cust_type = 'regular' find all business type customers,select * from customers where cust_type = 'business' find all premier type customers,select * from customers where cust_type = 'premier' find all regular type customers from india,select * from customers where cust_res_country = 'india' and cust_type = 'regular' find all business type customers from india,select * from customers where cust_res_country = 'india' and cust_type = 'business' find all premier type customers from india,select * from customers where cust_res_country = 'india' and cust_type = 'premier' show all customers having salary greater than 100000,select * from customers where cust_annual_sal > 100000 show all customers having salary less than 100000,select * from customers where cust_annual_sal < 100000 show all customers having salary equal to 100000,select * from customers where cust_annual_sal = 100000 find all married customers having salary greater than 100000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 100000 find all single customers having salary less than 100000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 100000 show all customers from india having salary more than 100000,select * from customers where cust_res_country = 'india' and cust_annual_sal > 100000; show all married customers from india having salary less than 100000,select * from customers where cust_mar_stat = 'married' and cust_res_country = 'india' and cust_annual_sal < 100000 show all single customers from india having salary less than 100000,select * from customers where cust_mar_stat = 'single' and cust_res_country = 'india' and cust_annual_sal < 100000 find all business type customers from india having salary equal to 100000,select * from customers where cust_type = 'business' and cust_res_country = 'india' and cust_annual_sal = 100000 find all premier type customers from india having salary equal to 100000,select * from customers where cust_type = 'premier' and cust_res_country = 'india' and cust_annual_sal = 100000 find all regular type customers from india having salary greater than 100000,select * from customers where cust_type = 'regular' and cust_res_country = 'india' and cust_annual_sal > 100000 show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married' show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married' show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single' show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business' show membership number of all customers from india,select cust_mem_num from customers where cust_res_country = 'india' show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married' find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv' find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' show all customers having an active investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' show all customers having an active mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo' and pdt_curr_stat = 'active' show all customers having a closed currency product,select distinct cust_id from products where pdt_cls_cde = 'cu' and pdt_curr_stat = 'inactive' show all customers having a closed investments product,select distinct cust_id from products where pdt_cls_cde = 'iv' and pdt_curr_stat = 'inactive' show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all customers having a closed currency product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all customers having a closed mortgages product,select customers.cust_id from customers = inner join products on customers.cust_id = products.cust_id where products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all married customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all married customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa'" find all married customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'mo'" find all single customers having a currency product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu'" find all single customers having an investment product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv'" find all single customers having a savings product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa'" find all single customers having an mortgages product,"select customers.cust_id, customers.cust_mar_stat from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo'" find all single customers having an active currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'active' find all customers having an active investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active' find all customers having an active savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active' find all customers having an active mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active' find all married customers having a closed currency product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive' find all single customers having a closed investment product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive' find all married customers having a closed savings product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'married' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive' show all single customers having a closed mortgages product,select customers.cust_id from customers inner join products on customers.cust_id = products.cust_id where customers.cust_mar_stat = 'single' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive' find all premier customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all business customers having a closed currency product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'cu' and products.pdt_curr_stat = 'inactive'" find all regular customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" find all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all business customers having an active mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'active'" find all premier customers having an active savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'active'" find all regular customers having an active investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'active'" show all regular customers having a closed investments product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'regular' and products.pdt_cls_cde = 'iv' and products.pdt_curr_stat = 'inactive'" show all business customers having a closed savings product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'business' and products.pdt_cls_cde = 'sa' and products.pdt_curr_stat = 'inactive'" show all premier customers having a closed mortgages product,"select customers.cust_id, customers.cust_type from customers inner join products on customers.cust_id = products.cust_id where customers.cust_type = 'premier' and products.pdt_cls_cde = 'mo' and products.pdt_curr_stat = 'inactive'" find all married customers from india having a closed investment product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all business type customers from india having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and customers.cust_type = 'business' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all premier type customers from india having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from india having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all business type customers from india having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and customers.cust_type = 'business' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all premier type customers from india having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all regular type customers from india having a closed investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'inactive' find all premier type customers from india having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all premier type customers from india having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and customers.cust_type = 'premier' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all business type customers from india having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and customers.cust_type = 'business' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all business type customers from india having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and customers.cust_type = 'business' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all regular type customers from india having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and customers.cust_type = 'regular' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from india having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' show all single customers from india having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' show all single customers from india having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all single customers from india having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' find all married customers from india having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from india having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' find all married customers from india having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from india having an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' show all single customers from india having an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all single customers from india having an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'single' and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' find all married customers from india having a closed mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'inactive' find all married customers from india having a closed savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'inactive' find all married customers from india having a closed currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'inactive' find all married customers from india having an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_res_country = 'india' and c.cust_mar_stat = 'married' and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary greater than 100000 and a mortgages product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 100000 and pdt_cls_cde = 'mo' show all customers having salary greater than 100000 and a savings product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 100000 and pdt_cls_cde = 'sa' show all customers having salary greater than 100000 and an investments product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 100000 and pdt_cls_cde = 'iv' show all customers having salary greater than 100000 and a currency product,select * from customers inner join products on customers.cust_id = products.cust_id where cust_annual_sal > 100000 and pdt_cls_cde = 'cu' show all customers having salary greater than 100000 and an active currency product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 100000 and p.pdt_cls_cde = 'cu' and p.pdt_curr_stat = 'active' show all customers having salary equal to 100000 and an active investments product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal = 100000 and p.pdt_cls_cde = 'iv' and p.pdt_curr_stat = 'active' show all customers having salary less than 100000 and an active mortgages product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal < 100000 and p.pdt_cls_cde = 'mo' and p.pdt_curr_stat = 'active' find all customers having salary more than 100000 and an active savings product,select c.* from customers c inner join products p on c.cust_id = p.cust_id where c.cust_annual_sal > 100000 and p.pdt_cls_cde = 'sa' and p.pdt_curr_stat = 'active' show all premier customers from india having an active investments product,select * from customers c inner join products p on c.cust_id = p.cust_id where cust_res_country = 'india' and cust_type = 'premier' and pdt_cls_cde = 'iv' and pdt_curr_stat = 'active' , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,