diff --git "a/dataset_train.csv" "b/dataset_train.csv" new file mode 100644--- /dev/null +++ "b/dataset_train.csv" @@ -0,0 +1,3058 @@ +,question,sql_query,input +0,find all customers from brazil,select * from customers where cust_res_country = 'brazil',"find all customers from brazil | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1,find all married customers from brazil,select * from customers where cust_res_country = 'brazil' and cust_mar_stat = 'married',"find all married customers from brazil | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2,find all single customers from brazil,select * from customers where cust_res_country = 'brazil' and cust_mar_stat = 'single',"find all single customers from brazil | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +3,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +4,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +5,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +6,find all regular type customers from brazil,select * from customers where cust_res_country = 'brazil' and cust_type = 'regular',"find all regular type customers from brazil | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +7,find all business type customers from brazil,select * from customers where cust_res_country = 'brazil' and cust_type = 'business',"find all business type customers from brazil | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +8,find all premier type customers from brazil,select * from customers where cust_res_country = 'brazil' and cust_type = 'premier',"find all premier type customers from brazil | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +9,show all customers having salary greater than 10000,select * from customers where cust_annual_sal > 10000,"show all customers having salary greater than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +10,show all customers having salary less than 10000,select * from customers where cust_annual_sal < 10000,"show all customers having salary less than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +11,show all customers having salary equal to 10000,select * from customers where cust_annual_sal = 10000,"show all customers having salary equal to 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +12,find all married customers having salary greater than 10000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 10000,"find all married customers having salary greater than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +13,find all single customers having salary less than 10000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 10000,"find all single customers having salary less than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +14,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 customers from brazil having salary more than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +15,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 married customers from brazil having salary less than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +16,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,"show all single customers from brazil having salary less than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +17,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 business type customers from brazil having salary equal to 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +18,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 premier type customers from brazil having salary equal to 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +19,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,"find all regular type customers from brazil having salary greater than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +20,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +21,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +22,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +23,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +24,show membership number of all customers from brazil,select cust_mem_num from customers where cust_res_country = 'brazil',"show membership number of all customers from brazil | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +25,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +26,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +27,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +28,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +29,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +30,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +31,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +32,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +33,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +34,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +35,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +36,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +37,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +38,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +39,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +40,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +41,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +42,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +43,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +44,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +45,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +46,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +47,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +48,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +49,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +50,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +51,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +52,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +53,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +54,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +55,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +56,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +57,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +58,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +59,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +60,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +61,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +62,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +63,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +64,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +65,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 married customers from brazil having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +66,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 business type customers from brazil having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +67,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 premier type customers from brazil having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +68,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 regular type customers from brazil having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +69,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 business type customers from brazil having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +70,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 premier type customers from brazil having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +71,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 regular type customers from brazil having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +72,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +73,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 premier type customers from brazil having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +74,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +75,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 business type customers from brazil having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +76,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',"find all regular type customers from brazil having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +77,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +78,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +79,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',"show all single customers from brazil having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +80,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 single customers from brazil having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +81,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +82,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +83,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',"find all married customers from brazil having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +84,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +85,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +86,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',"show all single customers from brazil having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +87,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +88,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +89,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +90,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',"find all married customers from brazil having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +91,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +92,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +93,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +94,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +95,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 greater than 10000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +96,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 equal to 10000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +97,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',"show all customers having salary less than 10000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +98,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',"find all customers having salary more than 10000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +99,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',"show all premier customers from brazil having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +100,find all customers from argentina,select * from customers where cust_res_country = 'argentina',"find all customers from argentina | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +101,find all married customers from argentina,select * from customers where cust_res_country = 'argentina' and cust_mar_stat = 'married',"find all married customers from argentina | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +102,find all single customers from argentina,select * from customers where cust_res_country = 'argentina' and cust_mar_stat = 'single',"find all single customers from argentina | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +103,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +104,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +105,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +106,find all regular type customers from argentina,select * from customers where cust_res_country = 'argentina' and cust_type = 'regular',"find all regular type customers from argentina | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +107,find all business type customers from argentina,select * from customers where cust_res_country = 'argentina' and cust_type = 'business',"find all business type customers from argentina | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +108,find all premier type customers from argentina,select * from customers where cust_res_country = 'argentina' and cust_type = 'premier',"find all premier type customers from argentina | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +109,show all customers having salary greater than 10000,select * from customers where cust_annual_sal > 10000,"show all customers having salary greater than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +110,show all customers having salary less than 10000,select * from customers where cust_annual_sal < 10000,"show all customers having salary less than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +111,show all customers having salary equal to 10000,select * from customers where cust_annual_sal = 10000,"show all customers having salary equal to 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +112,find all married customers having salary greater than 10000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 10000,"find all married customers having salary greater than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +113,find all single customers having salary less than 10000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 10000,"find all single customers having salary less than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +114,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 customers from argentina having salary more than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +115,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 married customers from argentina having salary less than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +116,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,"show all single customers from argentina having salary less than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +117,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 business type customers from argentina having salary equal to 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +118,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 premier type customers from argentina having salary equal to 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +119,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,"find all regular type customers from argentina having salary greater than 10000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +120,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +121,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +122,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +123,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +124,show membership number of all customers from argentina,select cust_mem_num from customers where cust_res_country = 'argentina',"show membership number of all customers from argentina | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +125,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +126,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +127,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +128,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +129,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +130,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +131,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +132,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +133,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +134,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +135,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +136,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +137,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +138,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +139,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +140,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +141,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +142,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +143,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +144,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +145,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +146,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +147,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +148,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +149,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +150,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +151,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +152,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +153,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +154,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +155,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +156,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +157,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +158,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +159,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +160,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +161,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +162,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +163,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +164,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +165,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 married customers from argentina having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +166,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 business type customers from argentina having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +167,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 premier type customers from argentina having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +168,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 regular type customers from argentina having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +169,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 business type customers from argentina having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +170,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 premier type customers from argentina having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +171,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 regular type customers from argentina having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +172,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +173,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 premier type customers from argentina having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +174,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +175,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 business type customers from argentina having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +176,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',"find all regular type customers from argentina having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +177,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +178,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +179,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',"show all single customers from argentina having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +180,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 single customers from argentina having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +181,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +182,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +183,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',"find all married customers from argentina having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +184,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +185,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +186,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',"show all single customers from argentina having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +187,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +188,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +189,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +190,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',"find all married customers from argentina having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +191,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +192,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +193,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +194,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +195,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 greater than 10000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +196,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 equal to 10000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +197,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',"show all customers having salary less than 10000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +198,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',"find all customers having salary more than 10000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +199,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',"show all premier customers from argentina having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +200,find all customers from mexico,select * from customers where cust_res_country = 'mexico',"find all customers from mexico | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +201,find all married customers from mexico,select * from customers where cust_res_country = 'mexico' and cust_mar_stat = 'married',"find all married customers from mexico | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +202,find all single customers from mexico,select * from customers where cust_res_country = 'mexico' and cust_mar_stat = 'single',"find all single customers from mexico | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +203,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +204,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +205,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +206,find all regular type customers from mexico,select * from customers where cust_res_country = 'mexico' and cust_type = 'regular',"find all regular type customers from mexico | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +207,find all business type customers from mexico,select * from customers where cust_res_country = 'mexico' and cust_type = 'business',"find all business type customers from mexico | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +208,find all premier type customers from mexico,select * from customers where cust_res_country = 'mexico' and cust_type = 'premier',"find all premier type customers from mexico | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +209,show all customers having salary greater than 50000,select * from customers where cust_annual_sal > 50000,"show all customers having salary greater than 50000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +210,show all customers having salary less than 50000,select * from customers where cust_annual_sal < 50000,"show all customers having salary less than 50000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +211,show all customers having salary equal to 50000,select * from customers where cust_annual_sal = 50000,"show all customers having salary equal to 50000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +212,find all married customers having salary greater than 50000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 50000,"find all married customers having salary greater than 50000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +213,find all single customers having salary less than 50000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 50000,"find all single customers having salary less than 50000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +214,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 customers from mexico having salary more than 50000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +215,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 married customers from mexico having salary less than 50000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +216,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,"show all single customers from mexico having salary less than 50000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +217,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 business type customers from mexico having salary equal to 50000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +218,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 premier type customers from mexico having salary equal to 50000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +219,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,"find all regular type customers from mexico having salary greater than 50000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +220,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +221,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +222,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +223,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +224,show membership number of all customers from mexico,select cust_mem_num from customers where cust_res_country = 'mexico',"show membership number of all customers from mexico | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +225,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +226,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +227,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +228,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +229,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +230,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +231,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +232,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +233,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +234,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +235,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +236,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +237,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +238,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +239,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +240,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +241,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +242,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +243,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +244,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +245,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +246,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +247,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +248,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +249,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +250,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +251,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +252,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +253,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +254,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +255,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +256,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +257,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +258,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +259,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +260,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +261,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +262,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +263,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +264,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +265,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 married customers from mexico having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +266,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 business type customers from mexico having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +267,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 premier type customers from mexico having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +268,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 regular type customers from mexico having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +269,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 business type customers from mexico having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +270,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 premier type customers from mexico having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +271,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 regular type customers from mexico having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +272,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +273,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 premier type customers from mexico having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +274,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +275,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 business type customers from mexico having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +276,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',"find all regular type customers from mexico having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +277,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +278,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +279,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',"show all single customers from mexico having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +280,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 single customers from mexico having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +281,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +282,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +283,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',"find all married customers from mexico having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +284,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +285,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +286,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',"show all single customers from mexico having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +287,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +288,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +289,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +290,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',"find all married customers from mexico having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +291,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +292,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +293,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +294,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +295,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 greater than 50000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +296,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 equal to 50000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +297,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',"show all customers having salary less than 50000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +298,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',"find all customers having salary more than 50000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +299,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',"show all premier customers from mexico having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +300,find all customers from spain,select * from customers where cust_res_country = 'spain',"find all customers from spain | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +301,find all married customers from spain,select * from customers where cust_res_country = 'spain' and cust_mar_stat = 'married',"find all married customers from spain | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +302,find all single customers from spain,select * from customers where cust_res_country = 'spain' and cust_mar_stat = 'single',"find all single customers from spain | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +303,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +304,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +305,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +306,find all regular type customers from spain,select * from customers where cust_res_country = 'spain' and cust_type = 'regular',"find all regular type customers from spain | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +307,find all business type customers from spain,select * from customers where cust_res_country = 'spain' and cust_type = 'business',"find all business type customers from spain | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +308,find all premier type customers from spain,select * from customers where cust_res_country = 'spain' and cust_type = 'premier',"find all premier type customers from spain | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +309,show all customers having salary greater than 30000,select * from customers where cust_annual_sal > 30000,"show all customers having salary greater than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +310,show all customers having salary less than 30000,select * from customers where cust_annual_sal < 30000,"show all customers having salary less than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +311,show all customers having salary equal to 30000,select * from customers where cust_annual_sal = 30000,"show all customers having salary equal to 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +312,find all married customers having salary greater than 30000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 30000,"find all married customers having salary greater than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +313,find all single customers having salary less than 30000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 30000,"find all single customers having salary less than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +314,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 customers from spain having salary more than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +315,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 married customers from spain having salary less than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +316,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,"show all single customers from spain having salary less than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +317,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 business type customers from spain having salary equal to 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +318,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 premier type customers from spain having salary equal to 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +319,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,"find all regular type customers from spain having salary greater than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +320,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +321,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +322,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +323,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +324,show membership number of all customers from spain,select cust_mem_num from customers where cust_res_country = 'spain',"show membership number of all customers from spain | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +325,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +326,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +327,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +328,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +329,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +330,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +331,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +332,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +333,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +334,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +335,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +336,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +337,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +338,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +339,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +340,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +341,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +342,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +343,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +344,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +345,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +346,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +347,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +348,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +349,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +350,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +351,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +352,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +353,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +354,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +355,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +356,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +357,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +358,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +359,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +360,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +361,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +362,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +363,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +364,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +365,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 married customers from spain having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +366,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 business type customers from spain having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +367,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 premier type customers from spain having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +368,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 regular type customers from spain having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +369,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 business type customers from spain having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +370,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 premier type customers from spain having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +371,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 regular type customers from spain having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +372,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +373,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 premier type customers from spain having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +374,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +375,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 business type customers from spain having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +376,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',"find all regular type customers from spain having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +377,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +378,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +379,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',"show all single customers from spain having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +380,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 single customers from spain having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +381,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +382,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +383,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',"find all married customers from spain having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +384,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +385,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +386,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',"show all single customers from spain having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +387,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +388,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +389,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +390,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',"find all married customers from spain having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +391,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +392,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +393,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +394,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +395,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 greater than 30000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +396,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 equal to 30000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +397,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',"show all customers having salary less than 30000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +398,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',"find all customers having salary more than 30000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +399,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',"show all premier customers from spain having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +400,find all customers from belgium,select * from customers where cust_res_country = 'belgium',"find all customers from belgium | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +401,find all married customers from belgium,select * from customers where cust_res_country = 'belgium' and cust_mar_stat = 'married',"find all married customers from belgium | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +402,find all single customers from belgium,select * from customers where cust_res_country = 'belgium' and cust_mar_stat = 'single',"find all single customers from belgium | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +403,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +404,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +405,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +406,find all regular type customers from belgium,select * from customers where cust_res_country = 'belgium' and cust_type = 'regular',"find all regular type customers from belgium | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +407,find all business type customers from belgium,select * from customers where cust_res_country = 'belgium' and cust_type = 'business',"find all business type customers from belgium | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +408,find all premier type customers from belgium,select * from customers where cust_res_country = 'belgium' and cust_type = 'premier',"find all premier type customers from belgium | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +409,show all customers having salary greater than 30000,select * from customers where cust_annual_sal > 30000,"show all customers having salary greater than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +410,show all customers having salary less than 30000,select * from customers where cust_annual_sal < 30000,"show all customers having salary less than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +411,show all customers having salary equal to 30000,select * from customers where cust_annual_sal = 30000,"show all customers having salary equal to 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +412,find all married customers having salary greater than 30000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 30000,"find all married customers having salary greater than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +413,find all single customers having salary less than 30000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 30000,"find all single customers having salary less than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +414,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 customers from belgium having salary more than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +415,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 married customers from belgium having salary less than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +416,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,"show all single customers from belgium having salary less than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +417,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 business type customers from belgium having salary equal to 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +418,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 premier type customers from belgium having salary equal to 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +419,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,"find all regular type customers from belgium having salary greater than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +420,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +421,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +422,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +423,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +424,show membership number of all customers from belgium,select cust_mem_num from customers where cust_res_country = 'belgium',"show membership number of all customers from belgium | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +425,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +426,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +427,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +428,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +429,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +430,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +431,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +432,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +433,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +434,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +435,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +436,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +437,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +438,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +439,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +440,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +441,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +442,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +443,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +444,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +445,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +446,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +447,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +448,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +449,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +450,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +451,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +452,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +453,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +454,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +455,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +456,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +457,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +458,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +459,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +460,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +461,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +462,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +463,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +464,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +465,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 married customers from belgium having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +466,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 business type customers from belgium having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +467,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 premier type customers from belgium having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +468,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 regular type customers from belgium having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +469,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 business type customers from belgium having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +470,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 premier type customers from belgium having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +471,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 regular type customers from belgium having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +472,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +473,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 premier type customers from belgium having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +474,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +475,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 business type customers from belgium having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +476,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',"find all regular type customers from belgium having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +477,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +478,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +479,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',"show all single customers from belgium having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +480,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 single customers from belgium having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +481,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +482,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +483,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',"find all married customers from belgium having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +484,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +485,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +486,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',"show all single customers from belgium having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +487,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +488,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +489,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +490,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',"find all married customers from belgium having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +491,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +492,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +493,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +494,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +495,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 greater than 30000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +496,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 equal to 30000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +497,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',"show all customers having salary less than 30000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +498,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',"find all customers having salary more than 30000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +499,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',"show all premier customers from belgium having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +500,find all customers from france,select * from customers where cust_res_country = 'france',"find all customers from france | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +501,find all married customers from france,select * from customers where cust_res_country = 'france' and cust_mar_stat = 'married',"find all married customers from france | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +502,find all single customers from france,select * from customers where cust_res_country = 'france' and cust_mar_stat = 'single',"find all single customers from france | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +503,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +504,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +505,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +506,find all regular type customers from france,select * from customers where cust_res_country = 'france' and cust_type = 'regular',"find all regular type customers from france | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +507,find all business type customers from france,select * from customers where cust_res_country = 'france' and cust_type = 'business',"find all business type customers from france | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +508,find all premier type customers from france,select * from customers where cust_res_country = 'france' and cust_type = 'premier',"find all premier type customers from france | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +509,show all customers having salary greater than 30000,select * from customers where cust_annual_sal > 30000,"show all customers having salary greater than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +510,show all customers having salary less than 30000,select * from customers where cust_annual_sal < 30000,"show all customers having salary less than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +511,show all customers having salary equal to 30000,select * from customers where cust_annual_sal = 30000,"show all customers having salary equal to 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +512,find all married customers having salary greater than 30000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 30000,"find all married customers having salary greater than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +513,find all single customers having salary less than 30000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 30000,"find all single customers having salary less than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +514,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 customers from france having salary more than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +515,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 married customers from france having salary less than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +516,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,"show all single customers from france having salary less than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +517,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 business type customers from france having salary equal to 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +518,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 premier type customers from france having salary equal to 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +519,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,"find all regular type customers from france having salary greater than 30000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +520,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +521,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +522,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +523,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +524,show membership number of all customers from france,select cust_mem_num from customers where cust_res_country = 'france',"show membership number of all customers from france | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +525,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +526,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +527,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +528,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +529,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +530,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +531,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +532,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +533,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +534,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +535,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +536,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +537,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +538,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +539,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +540,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +541,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +542,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +543,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +544,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +545,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +546,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +547,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +548,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +549,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +550,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +551,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +552,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +553,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +554,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +555,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +556,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +557,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +558,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +559,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +560,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +561,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +562,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +563,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +564,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +565,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 married customers from france having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +566,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 business type customers from france having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +567,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 premier type customers from france having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +568,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 regular type customers from france having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +569,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 business type customers from france having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +570,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 premier type customers from france having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +571,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 regular type customers from france having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +572,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +573,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 premier type customers from france having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +574,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +575,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 business type customers from france having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +576,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',"find all regular type customers from france having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +577,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +578,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +579,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',"show all single customers from france having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +580,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 single customers from france having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +581,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +582,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +583,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',"find all married customers from france having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +584,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +585,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +586,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',"show all single customers from france having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +587,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +588,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +589,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +590,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',"find all married customers from france having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +591,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +592,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +593,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +594,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +595,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 greater than 30000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +596,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 equal to 30000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +597,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',"show all customers having salary less than 30000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +598,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',"find all customers having salary more than 30000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +599,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',"show all premier customers from france having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +600,find all customers from russia,select * from customers where cust_res_country = 'russia',"find all customers from russia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +601,find all married customers from russia,select * from customers where cust_res_country = 'russia' and cust_mar_stat = 'married',"find all married customers from russia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +602,find all single customers from russia,select * from customers where cust_res_country = 'russia' and cust_mar_stat = 'single',"find all single customers from russia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +603,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +604,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +605,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +606,find all regular type customers from russia,select * from customers where cust_res_country = 'russia' and cust_type = 'regular',"find all regular type customers from russia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +607,find all business type customers from russia,select * from customers where cust_res_country = 'russia' and cust_type = 'business',"find all business type customers from russia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +608,find all premier type customers from russia,select * from customers where cust_res_country = 'russia' and cust_type = 'premier',"find all premier type customers from russia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +609,show all customers having salary greater than 80000,select * from customers where cust_annual_sal > 80000,"show all customers having salary greater than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +610,show all customers having salary less than 80000,select * from customers where cust_annual_sal < 80000,"show all customers having salary less than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +611,show all customers having salary equal to 80000,select * from customers where cust_annual_sal = 80000,"show all customers having salary equal to 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +612,find all married customers having salary greater than 80000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 80000,"find all married customers having salary greater than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +613,find all single customers having salary less than 80000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 80000,"find all single customers having salary less than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +614,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 customers from russia having salary more than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +615,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 married customers from russia having salary less than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +616,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,"show all single customers from russia having salary less than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +617,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 business type customers from russia having salary equal to 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +618,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 premier type customers from russia having salary equal to 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +619,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,"find all regular type customers from russia having salary greater than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +620,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +621,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +622,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +623,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +624,show membership number of all customers from russia,select cust_mem_num from customers where cust_res_country = 'russia',"show membership number of all customers from russia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +625,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +626,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +627,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +628,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +629,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +630,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +631,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +632,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +633,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +634,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +635,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +636,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +637,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +638,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +639,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +640,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +641,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +642,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +643,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +644,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +645,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +646,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +647,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +648,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +649,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +650,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +651,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +652,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +653,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +654,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +655,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +656,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +657,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +658,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +659,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +660,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +661,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +662,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +663,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +664,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +665,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 married customers from russia having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +666,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 business type customers from russia having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +667,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 premier type customers from russia having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +668,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 regular type customers from russia having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +669,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 business type customers from russia having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +670,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 premier type customers from russia having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +671,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 regular type customers from russia having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +672,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +673,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 premier type customers from russia having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +674,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +675,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 business type customers from russia having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +676,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',"find all regular type customers from russia having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +677,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +678,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +679,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',"show all single customers from russia having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +680,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 single customers from russia having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +681,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +682,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +683,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',"find all married customers from russia having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +684,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +685,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +686,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',"show all single customers from russia having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +687,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +688,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +689,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +690,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',"find all married customers from russia having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +691,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +692,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +693,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +694,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +695,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 greater than 80000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +696,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 equal to 80000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +697,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',"show all customers having salary less than 80000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +698,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',"find all customers having salary more than 80000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +699,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',"show all premier customers from russia having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +700,find all customers from usa,select * from customers where cust_res_country = 'usa',"find all customers from usa | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +701,find all married customers from usa,select * from customers where cust_res_country = 'usa' and cust_mar_stat = 'married',"find all married customers from usa | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +702,find all single customers from usa,select * from customers where cust_res_country = 'usa' and cust_mar_stat = 'single',"find all single customers from usa | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +703,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +704,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +705,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +706,find all regular type customers from usa,select * from customers where cust_res_country = 'usa' and cust_type = 'regular',"find all regular type customers from usa | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +707,find all business type customers from usa,select * from customers where cust_res_country = 'usa' and cust_type = 'business',"find all business type customers from usa | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +708,find all premier type customers from usa,select * from customers where cust_res_country = 'usa' and cust_type = 'premier',"find all premier type customers from usa | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +709,show all customers having salary greater than 80000,select * from customers where cust_annual_sal > 80000,"show all customers having salary greater than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +710,show all customers having salary less than 80000,select * from customers where cust_annual_sal < 80000,"show all customers having salary less than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +711,show all customers having salary equal to 80000,select * from customers where cust_annual_sal = 80000,"show all customers having salary equal to 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +712,find all married customers having salary greater than 80000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 80000,"find all married customers having salary greater than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +713,find all single customers having salary less than 80000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 80000,"find all single customers having salary less than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +714,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 customers from usa having salary more than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +715,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 married customers from usa having salary less than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +716,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,"show all single customers from usa having salary less than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +717,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 business type customers from usa having salary equal to 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +718,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 premier type customers from usa having salary equal to 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +719,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,"find all regular type customers from usa having salary greater than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +720,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +721,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +722,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +723,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +724,show membership number of all customers from usa,select cust_mem_num from customers where cust_res_country = 'usa',"show membership number of all customers from usa | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +725,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +726,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +727,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +728,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +729,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +730,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +731,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +732,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +733,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +734,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +735,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +736,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +737,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +738,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +739,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +740,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +741,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +742,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +743,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +744,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +745,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +746,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +747,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +748,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +749,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +750,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +751,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +752,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +753,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +754,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +755,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +756,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +757,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +758,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +759,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +760,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +761,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +762,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +763,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +764,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +765,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 married customers from usa having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +766,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 business type customers from usa having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +767,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 premier type customers from usa having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +768,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 regular type customers from usa having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +769,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 business type customers from usa having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +770,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 premier type customers from usa having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +771,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 regular type customers from usa having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +772,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +773,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 premier type customers from usa having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +774,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +775,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 business type customers from usa having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +776,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',"find all regular type customers from usa having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +777,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +778,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +779,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',"show all single customers from usa having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +780,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 single customers from usa having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +781,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +782,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +783,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',"find all married customers from usa having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +784,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +785,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +786,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',"show all single customers from usa having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +787,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +788,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +789,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +790,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',"find all married customers from usa having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +791,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +792,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +793,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +794,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +795,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 greater than 80000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +796,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 equal to 80000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +797,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',"show all customers having salary less than 80000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +798,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',"find all customers having salary more than 80000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +799,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',"show all premier customers from usa having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +800,find all customers from singapore,select * from customers where cust_res_country = 'singapore',"find all customers from singapore | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +801,find all married customers from singapore,select * from customers where cust_res_country = 'singapore' and cust_mar_stat = 'married',"find all married customers from singapore | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +802,find all single customers from singapore,select * from customers where cust_res_country = 'singapore' and cust_mar_stat = 'single',"find all single customers from singapore | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +803,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +804,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +805,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +806,find all regular type customers from singapore,select * from customers where cust_res_country = 'singapore' and cust_type = 'regular',"find all regular type customers from singapore | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +807,find all business type customers from singapore,select * from customers where cust_res_country = 'singapore' and cust_type = 'business',"find all business type customers from singapore | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +808,find all premier type customers from singapore,select * from customers where cust_res_country = 'singapore' and cust_type = 'premier',"find all premier type customers from singapore | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +809,show all customers having salary greater than 80000,select * from customers where cust_annual_sal > 80000,"show all customers having salary greater than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +810,show all customers having salary less than 80000,select * from customers where cust_annual_sal < 80000,"show all customers having salary less than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +811,show all customers having salary equal to 80000,select * from customers where cust_annual_sal = 80000,"show all customers having salary equal to 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +812,find all married customers having salary greater than 80000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 80000,"find all married customers having salary greater than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +813,find all single customers having salary less than 80000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 80000,"find all single customers having salary less than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +814,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 customers from singapore having salary more than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +815,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 married customers from singapore having salary less than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +816,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,"show all single customers from singapore having salary less than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +817,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 business type customers from singapore having salary equal to 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +818,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 premier type customers from singapore having salary equal to 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +819,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,"find all regular type customers from singapore having salary greater than 80000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +820,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +821,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +822,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +823,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +824,show membership number of all customers from singapore,select cust_mem_num from customers where cust_res_country = 'singapore',"show membership number of all customers from singapore | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +825,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +826,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +827,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +828,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +829,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +830,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +831,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +832,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +833,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +834,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +835,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +836,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +837,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +838,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +839,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +840,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +841,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +842,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +843,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +844,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +845,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +846,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +847,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +848,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +849,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +850,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +851,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +852,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +853,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +854,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +855,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +856,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +857,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +858,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +859,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +860,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +861,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +862,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +863,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +864,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +865,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 married customers from singapore having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +866,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 business type customers from singapore having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +867,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 premier type customers from singapore having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +868,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 regular type customers from singapore having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +869,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 business type customers from singapore having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +870,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 premier type customers from singapore having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +871,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 regular type customers from singapore having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +872,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +873,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 premier type customers from singapore having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +874,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +875,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 business type customers from singapore having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +876,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',"find all regular type customers from singapore having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +877,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +878,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +879,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',"show all single customers from singapore having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +880,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 single customers from singapore having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +881,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +882,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +883,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',"find all married customers from singapore having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +884,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +885,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +886,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',"show all single customers from singapore having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +887,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +888,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +889,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +890,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',"find all married customers from singapore having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +891,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +892,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +893,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +894,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +895,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 greater than 80000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +896,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 equal to 80000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +897,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',"show all customers having salary less than 80000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +898,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',"find all customers having salary more than 80000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +899,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',"show all premier customers from singapore having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +900,find all customers from japan,select * from customers where cust_res_country = 'japan',"find all customers from japan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +901,find all married customers from japan,select * from customers where cust_res_country = 'japan' and cust_mar_stat = 'married',"find all married customers from japan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +902,find all single customers from japan,select * from customers where cust_res_country = 'japan' and cust_mar_stat = 'single',"find all single customers from japan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +903,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +904,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +905,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +906,find all regular type customers from japan,select * from customers where cust_res_country = 'japan' and cust_type = 'regular',"find all regular type customers from japan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +907,find all business type customers from japan,select * from customers where cust_res_country = 'japan' and cust_type = 'business',"find all business type customers from japan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +908,find all premier type customers from japan,select * from customers where cust_res_country = 'japan' and cust_type = 'premier',"find all premier type customers from japan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +909,show all customers having salary greater than 90000,select * from customers where cust_annual_sal > 90000,"show all customers having salary greater than 90000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +910,show all customers having salary less than 90000,select * from customers where cust_annual_sal < 90000,"show all customers having salary less than 90000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +911,show all customers having salary equal to 90000,select * from customers where cust_annual_sal = 90000,"show all customers having salary equal to 90000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +912,find all married customers having salary greater than 90000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 90000,"find all married customers having salary greater than 90000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +913,find all single customers having salary less than 90000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 90000,"find all single customers having salary less than 90000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +914,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 customers from japan having salary more than 90000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +915,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 married customers from japan having salary less than 90000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +916,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,"show all single customers from japan having salary less than 90000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +917,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 business type customers from japan having salary equal to 90000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +918,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 premier type customers from japan having salary equal to 90000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +919,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,"find all regular type customers from japan having salary greater than 90000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +920,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +921,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +922,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +923,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +924,show membership number of all customers from japan,select cust_mem_num from customers where cust_res_country = 'japan',"show membership number of all customers from japan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +925,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +926,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +927,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +928,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +929,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +930,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +931,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +932,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +933,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +934,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +935,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +936,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +937,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +938,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +939,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +940,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +941,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +942,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +943,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +944,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +945,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +946,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +947,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +948,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +949,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +950,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +951,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +952,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +953,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +954,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +955,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +956,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +957,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +958,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +959,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +960,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +961,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +962,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +963,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +964,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +965,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 married customers from japan having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +966,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 business type customers from japan having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +967,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 premier type customers from japan having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +968,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 regular type customers from japan having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +969,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 business type customers from japan having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +970,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 premier type customers from japan having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +971,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 regular type customers from japan having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +972,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +973,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 premier type customers from japan having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +974,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +975,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 business type customers from japan having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +976,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',"find all regular type customers from japan having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +977,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +978,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +979,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',"show all single customers from japan having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +980,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 single customers from japan having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +981,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +982,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +983,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',"find all married customers from japan having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +984,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +985,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +986,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',"show all single customers from japan having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +987,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +988,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +989,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +990,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',"find all married customers from japan having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +991,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +992,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +993,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +994,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +995,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 greater than 90000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +996,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 equal to 90000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +997,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',"show all customers having salary less than 90000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +998,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',"find all customers having salary more than 90000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +999,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',"show all premier customers from japan having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1000,find all customers from china,select * from customers where cust_res_country = 'china',"find all customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1001,find all married customers from china,select * from customers where cust_res_country = 'china' and cust_mar_stat = 'married',"find all married customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1002,find all single customers from china,select * from customers where cust_res_country = 'china' and cust_mar_stat = 'single',"find all single customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1003,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1004,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1005,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1006,find all regular type customers from china,select * from customers where cust_res_country = 'china' and cust_type = 'regular',"find all regular type customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1007,find all business type customers from china,select * from customers where cust_res_country = 'china' and cust_type = 'business',"find all business type customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1008,find all premier type customers from china,select * from customers where cust_res_country = 'china' and cust_type = 'premier',"find all premier type customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1009,show all customers having salary greater than 110000,select * from customers where cust_annual_sal > 110000,"show all customers having salary greater than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1010,show all customers having salary less than 110000,select * from customers where cust_annual_sal < 110000,"show all customers having salary less than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1011,show all customers having salary equal to 110000,select * from customers where cust_annual_sal = 110000,"show all customers having salary equal to 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1012,find all married customers having salary greater than 110000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 110000,"find all married customers having salary greater than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1013,find all single customers having salary less than 110000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 110000,"find all single customers having salary less than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1014,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 customers from china having salary more than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1015,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 married customers from china having salary less than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1016,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,"show all single customers from china having salary less than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1017,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 business type customers from china having salary equal to 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1018,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 premier type customers from china having salary equal to 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1019,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,"find all regular type customers from china having salary greater than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1020,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1021,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1022,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1023,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1024,show membership number of all customers from china,select cust_mem_num from customers where cust_res_country = 'china',"show membership number of all customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1025,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1026,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1027,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1028,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1029,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1030,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1031,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1032,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1033,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1034,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1035,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1036,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1037,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1038,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1039,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1040,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1041,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1042,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1043,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1044,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1045,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1046,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1047,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1048,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1049,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1050,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1051,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1052,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1053,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1054,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1055,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1056,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1057,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1058,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1059,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1060,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1061,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1062,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1063,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1064,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1065,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 married customers from china having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1066,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 business type customers from china having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1067,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 premier type customers from china having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1068,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 regular type customers from china having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1069,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 business type customers from china having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1070,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 premier type customers from china having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1071,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 regular type customers from china having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1072,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1073,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 premier type customers from china having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1074,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1075,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 business type customers from china having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1076,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',"find all regular type customers from china having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1077,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1078,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1079,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',"show all single customers from china having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1080,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 single customers from china having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1081,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1082,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1083,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',"find all married customers from china having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1084,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1085,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1086,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',"show all single customers from china having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1087,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1088,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1089,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1090,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',"find all married customers from china having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1091,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1092,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1093,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1094,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1095,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 greater than 110000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1096,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 equal to 110000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1097,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',"show all customers having salary less than 110000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1098,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',"find all customers having salary more than 110000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1099,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',"show all premier customers from china having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1100,find all customers from gabon,select * from customers where cust_res_country = 'gabon',"find all customers from gabon | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1101,find all married customers from gabon,select * from customers where cust_res_country = 'gabon' and cust_mar_stat = 'married',"find all married customers from gabon | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1102,find all single customers from gabon,select * from customers where cust_res_country = 'gabon' and cust_mar_stat = 'single',"find all single customers from gabon | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1103,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1104,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1105,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1106,find all regular type customers from gabon,select * from customers where cust_res_country = 'gabon' and cust_type = 'regular',"find all regular type customers from gabon | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1107,find all business type customers from gabon,select * from customers where cust_res_country = 'gabon' and cust_type = 'business',"find all business type customers from gabon | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1108,find all premier type customers from gabon,select * from customers where cust_res_country = 'gabon' and cust_type = 'premier',"find all premier type customers from gabon | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1109,show all customers having salary greater than 110000,select * from customers where cust_annual_sal > 110000,"show all customers having salary greater than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1110,show all customers having salary less than 110000,select * from customers where cust_annual_sal < 110000,"show all customers having salary less than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1111,show all customers having salary equal to 110000,select * from customers where cust_annual_sal = 110000,"show all customers having salary equal to 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1112,find all married customers having salary greater than 110000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 110000,"find all married customers having salary greater than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1113,find all single customers having salary less than 110000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 110000,"find all single customers having salary less than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1114,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 customers from gabon having salary more than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1115,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 married customers from gabon having salary less than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1116,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,"show all single customers from gabon having salary less than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1117,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 business type customers from gabon having salary equal to 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1118,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 premier type customers from gabon having salary equal to 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1119,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,"find all regular type customers from gabon having salary greater than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1120,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1121,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1122,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1123,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1124,show membership number of all customers from gabon,select cust_mem_num from customers where cust_res_country = 'gabon',"show membership number of all customers from gabon | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1125,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1126,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1127,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1128,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1129,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1130,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1131,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1132,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1133,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1134,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1135,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1136,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1137,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1138,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1139,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1140,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1141,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1142,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1143,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1144,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1145,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1146,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1147,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1148,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1149,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1150,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1151,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1152,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1153,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1154,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1155,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1156,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1157,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1158,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1159,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1160,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1161,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1162,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1163,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1164,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1165,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 married customers from gabon having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1166,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 business type customers from gabon having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1167,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 premier type customers from gabon having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1168,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 regular type customers from gabon having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1169,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 business type customers from gabon having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1170,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 premier type customers from gabon having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1171,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 regular type customers from gabon having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1172,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1173,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 premier type customers from gabon having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1174,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1175,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 business type customers from gabon having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1176,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',"find all regular type customers from gabon having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1177,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1178,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1179,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',"show all single customers from gabon having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1180,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 single customers from gabon having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1181,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1182,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1183,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',"find all married customers from gabon having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1184,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1185,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1186,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',"show all single customers from gabon having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1187,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1188,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1189,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1190,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',"find all married customers from gabon having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1191,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1192,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1193,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1194,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1195,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 greater than 110000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1196,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 equal to 110000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1197,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',"show all customers having salary less than 110000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1198,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',"find all customers having salary more than 110000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1199,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',"show all premier customers from gabon having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1200,find all customers from nepal,select * from customers where cust_res_country = 'nepal',"find all customers from nepal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1201,find all married customers from nepal,select * from customers where cust_res_country = 'nepal' and cust_mar_stat = 'married',"find all married customers from nepal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1202,find all single customers from nepal,select * from customers where cust_res_country = 'nepal' and cust_mar_stat = 'single',"find all single customers from nepal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1203,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1204,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1205,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1206,find all regular type customers from nepal,select * from customers where cust_res_country = 'nepal' and cust_type = 'regular',"find all regular type customers from nepal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1207,find all business type customers from nepal,select * from customers where cust_res_country = 'nepal' and cust_type = 'business',"find all business type customers from nepal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1208,find all premier type customers from nepal,select * from customers where cust_res_country = 'nepal' and cust_type = 'premier',"find all premier type customers from nepal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1209,show all customers having salary greater than 110000,select * from customers where cust_annual_sal > 110000,"show all customers having salary greater than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1210,show all customers having salary less than 110000,select * from customers where cust_annual_sal < 110000,"show all customers having salary less than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1211,show all customers having salary equal to 110000,select * from customers where cust_annual_sal = 110000,"show all customers having salary equal to 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1212,find all married customers having salary greater than 110000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 110000,"find all married customers having salary greater than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1213,find all single customers having salary less than 110000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 110000,"find all single customers having salary less than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1214,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 customers from nepal having salary more than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1215,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 married customers from nepal having salary less than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1216,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,"show all single customers from nepal having salary less than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1217,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 business type customers from nepal having salary equal to 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1218,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 premier type customers from nepal having salary equal to 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1219,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,"find all regular type customers from nepal having salary greater than 110000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1220,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1221,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1222,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1223,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1224,show membership number of all customers from nepal,select cust_mem_num from customers where cust_res_country = 'nepal',"show membership number of all customers from nepal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1225,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1226,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1227,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1228,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1229,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1230,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1231,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1232,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1233,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1234,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1235,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1236,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1237,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1238,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1239,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1240,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1241,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1242,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1243,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1244,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1245,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1246,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1247,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1248,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1249,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1250,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1251,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1252,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1253,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1254,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1255,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1256,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1257,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1258,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1259,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1260,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1261,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1262,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1263,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1264,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1265,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 married customers from nepal having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1266,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 business type customers from nepal having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1267,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 premier type customers from nepal having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1268,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 regular type customers from nepal having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1269,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 business type customers from nepal having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1270,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 premier type customers from nepal having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1271,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 regular type customers from nepal having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1272,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1273,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 premier type customers from nepal having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1274,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1275,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 business type customers from nepal having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1276,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',"find all regular type customers from nepal having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1277,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1278,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1279,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',"show all single customers from nepal having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1280,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 single customers from nepal having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1281,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1282,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1283,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',"find all married customers from nepal having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1284,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1285,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1286,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',"show all single customers from nepal having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1287,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1288,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1289,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1290,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',"find all married customers from nepal having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1291,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1292,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1293,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1294,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1295,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 greater than 110000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1296,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 equal to 110000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1297,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',"show all customers having salary less than 110000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1298,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',"find all customers having salary more than 110000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1299,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',"show all premier customers from nepal having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1300,find all customers from polland,select * from customers where cust_res_country = 'polland',"find all customers from polland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1301,find all married customers from polland,select * from customers where cust_res_country = 'polland' and cust_mar_stat = 'married',"find all married customers from polland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1302,find all single customers from polland,select * from customers where cust_res_country = 'polland' and cust_mar_stat = 'single',"find all single customers from polland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1303,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1304,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1305,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1306,find all regular type customers from polland,select * from customers where cust_res_country = 'polland' and cust_type = 'regular',"find all regular type customers from polland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1307,find all business type customers from polland,select * from customers where cust_res_country = 'polland' and cust_type = 'business',"find all business type customers from polland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1308,find all premier type customers from polland,select * from customers where cust_res_country = 'polland' and cust_type = 'premier',"find all premier type customers from polland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1309,show all customers having salary greater than 65000,select * from customers where cust_annual_sal > 65000,"show all customers having salary greater than 65000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1310,show all customers having salary less than 65000,select * from customers where cust_annual_sal < 65000,"show all customers having salary less than 65000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1311,show all customers having salary equal to 65000,select * from customers where cust_annual_sal = 65000,"show all customers having salary equal to 65000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1312,find all married customers having salary greater than 65000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 65000,"find all married customers having salary greater than 65000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1313,find all single customers having salary less than 65000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 65000,"find all single customers having salary less than 65000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1314,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 customers from polland having salary more than 65000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1315,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 married customers from polland having salary less than 65000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1316,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,"show all single customers from polland having salary less than 65000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1317,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 business type customers from polland having salary equal to 65000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1318,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 premier type customers from polland having salary equal to 65000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1319,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,"find all regular type customers from polland having salary greater than 65000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1320,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1321,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1322,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1323,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1324,show membership number of all customers from polland,select cust_mem_num from customers where cust_res_country = 'polland',"show membership number of all customers from polland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1325,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1326,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1327,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1328,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1329,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1330,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1331,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1332,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1333,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1334,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1335,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1336,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1337,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1338,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1339,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1340,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1341,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1342,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1343,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1344,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1345,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1346,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1347,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1348,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1349,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1350,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1351,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1352,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1353,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1354,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1355,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1356,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1357,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1358,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1359,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1360,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1361,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1362,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1363,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1364,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1365,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 married customers from polland having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1366,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 business type customers from polland having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1367,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 premier type customers from polland having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1368,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 regular type customers from polland having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1369,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 business type customers from polland having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1370,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 premier type customers from polland having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1371,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 regular type customers from polland having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1372,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1373,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 premier type customers from polland having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1374,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1375,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 business type customers from polland having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1376,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',"find all regular type customers from polland having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1377,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1378,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1379,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',"show all single customers from polland having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1380,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 single customers from polland having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1381,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1382,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1383,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',"find all married customers from polland having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1384,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1385,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1386,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',"show all single customers from polland having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1387,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1388,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1389,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1390,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',"find all married customers from polland having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1391,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1392,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1393,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1394,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1395,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 greater than 65000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1396,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 equal to 65000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1397,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',"show all customers having salary less than 65000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1398,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',"find all customers having salary more than 65000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1399,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',"show all premier customers from polland having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1400,find all customers from ukraine,select * from customers where cust_res_country = 'ukraine',"find all customers from ukraine | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1401,find all married customers from ukraine,select * from customers where cust_res_country = 'ukraine' and cust_mar_stat = 'married',"find all married customers from ukraine | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1402,find all single customers from ukraine,select * from customers where cust_res_country = 'ukraine' and cust_mar_stat = 'single',"find all single customers from ukraine | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1403,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1404,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1405,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1406,find all regular type customers from ukraine,select * from customers where cust_res_country = 'ukraine' and cust_type = 'regular',"find all regular type customers from ukraine | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1407,find all business type customers from ukraine,select * from customers where cust_res_country = 'ukraine' and cust_type = 'business',"find all business type customers from ukraine | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1408,find all premier type customers from ukraine,select * from customers where cust_res_country = 'ukraine' and cust_type = 'premier',"find all premier type customers from ukraine | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1409,show all customers having salary greater than 85000,select * from customers where cust_annual_sal > 85000,"show all customers having salary greater than 85000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1410,show all customers having salary less than 85000,select * from customers where cust_annual_sal < 85000,"show all customers having salary less than 85000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1411,show all customers having salary equal to 85000,select * from customers where cust_annual_sal = 85000,"show all customers having salary equal to 85000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1412,find all married customers having salary greater than 85000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 85000,"find all married customers having salary greater than 85000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1413,find all single customers having salary less than 85000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 85000,"find all single customers having salary less than 85000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1414,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 customers from ukraine having salary more than 85000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1415,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 married customers from ukraine having salary less than 85000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1416,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,"show all single customers from ukraine having salary less than 85000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1417,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 business type customers from ukraine having salary equal to 85000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1418,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 premier type customers from ukraine having salary equal to 85000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1419,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,"find all regular type customers from ukraine having salary greater than 85000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1420,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1421,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1422,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1423,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1424,show membership number of all customers from ukraine,select cust_mem_num from customers where cust_res_country = 'ukraine',"show membership number of all customers from ukraine | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1425,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1426,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1427,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1428,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1429,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1430,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1431,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1432,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1433,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1434,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1435,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1436,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1437,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1438,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1439,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1440,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1441,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1442,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1443,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1444,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1445,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1446,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1447,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1448,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1449,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1450,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1451,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1452,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1453,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1454,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1455,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1456,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1457,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1458,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1459,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1460,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1461,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1462,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1463,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1464,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1465,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 married customers from ukraine having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1466,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 business type customers from ukraine having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1467,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 premier type customers from ukraine having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1468,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 regular type customers from ukraine having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1469,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 business type customers from ukraine having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1470,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 premier type customers from ukraine having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1471,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 regular type customers from ukraine having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1472,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1473,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 premier type customers from ukraine having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1474,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1475,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 business type customers from ukraine having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1476,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',"find all regular type customers from ukraine having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1477,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1478,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1479,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',"show all single customers from ukraine having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1480,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 single customers from ukraine having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1481,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1482,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1483,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',"find all married customers from ukraine having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1484,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1485,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1486,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',"show all single customers from ukraine having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1487,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1488,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1489,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1490,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',"find all married customers from ukraine having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1491,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1492,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1493,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1494,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1495,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 greater than 85000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1496,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 equal to 85000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1497,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',"show all customers having salary less than 85000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1498,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',"find all customers having salary more than 85000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1499,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',"show all premier customers from ukraine having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1500,find all customers from dubai,select * from customers where cust_res_country = 'dubai',"find all customers from dubai | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1501,find all married customers from dubai,select * from customers where cust_res_country = 'dubai' and cust_mar_stat = 'married',"find all married customers from dubai | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1502,find all single customers from dubai,select * from customers where cust_res_country = 'dubai' and cust_mar_stat = 'single',"find all single customers from dubai | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1503,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1504,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1505,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1506,find all regular type customers from dubai,select * from customers where cust_res_country = 'dubai' and cust_type = 'regular',"find all regular type customers from dubai | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1507,find all business type customers from dubai,select * from customers where cust_res_country = 'dubai' and cust_type = 'business',"find all business type customers from dubai | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1508,find all premier type customers from dubai,select * from customers where cust_res_country = 'dubai' and cust_type = 'premier',"find all premier type customers from dubai | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1509,show all customers having salary greater than 45000,select * from customers where cust_annual_sal > 45000,"show all customers having salary greater than 45000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1510,show all customers having salary less than 45000,select * from customers where cust_annual_sal < 45000,"show all customers having salary less than 45000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1511,show all customers having salary equal to 45000,select * from customers where cust_annual_sal = 45000,"show all customers having salary equal to 45000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1512,find all married customers having salary greater than 45000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 45000,"find all married customers having salary greater than 45000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1513,find all single customers having salary less than 45000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 45000,"find all single customers having salary less than 45000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1514,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 customers from dubai having salary more than 45000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1515,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 married customers from dubai having salary less than 45000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1516,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,"show all single customers from dubai having salary less than 45000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1517,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 business type customers from dubai having salary equal to 45000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1518,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 premier type customers from dubai having salary equal to 45000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1519,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,"find all regular type customers from dubai having salary greater than 45000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1520,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1521,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1522,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1523,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1524,show membership number of all customers from dubai,select cust_mem_num from customers where cust_res_country = 'dubai',"show membership number of all customers from dubai | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1525,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1526,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1527,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1528,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1529,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1530,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1531,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1532,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1533,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1534,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1535,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1536,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1537,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1538,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1539,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1540,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1541,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1542,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1543,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1544,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1545,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1546,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1547,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1548,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1549,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1550,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1551,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1552,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1553,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1554,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1555,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1556,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1557,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1558,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1559,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1560,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1561,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1562,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1563,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1564,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1565,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 married customers from dubai having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1566,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 business type customers from dubai having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1567,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 premier type customers from dubai having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1568,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 regular type customers from dubai having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1569,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 business type customers from dubai having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1570,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 premier type customers from dubai having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1571,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 regular type customers from dubai having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1572,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1573,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 premier type customers from dubai having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1574,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1575,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 business type customers from dubai having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1576,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',"find all regular type customers from dubai having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1577,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1578,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1579,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',"show all single customers from dubai having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1580,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 single customers from dubai having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1581,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1582,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1583,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',"find all married customers from dubai having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1584,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1585,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1586,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',"show all single customers from dubai having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1587,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1588,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1589,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1590,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',"find all married customers from dubai having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1591,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1592,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1593,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1594,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1595,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 greater than 45000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1596,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 equal to 45000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1597,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',"show all customers having salary less than 45000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1598,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',"find all customers having salary more than 45000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1599,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',"show all premier customers from dubai having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1600,find all customers from australia,select * from customers where cust_res_country = 'australia',"find all customers from australia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1601,find all married customers from australia,select * from customers where cust_res_country = 'australia' and cust_mar_stat = 'married',"find all married customers from australia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1602,find all single customers from australia,select * from customers where cust_res_country = 'australia' and cust_mar_stat = 'single',"find all single customers from australia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1603,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1604,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1605,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1606,find all regular type customers from australia,select * from customers where cust_res_country = 'australia' and cust_type = 'regular',"find all regular type customers from australia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1607,find all business type customers from australia,select * from customers where cust_res_country = 'australia' and cust_type = 'business',"find all business type customers from australia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1608,find all premier type customers from australia,select * from customers where cust_res_country = 'australia' and cust_type = 'premier',"find all premier type customers from australia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1609,show all customers having salary greater than 65300,select * from customers where cust_annual_sal > 65300,"show all customers having salary greater than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1610,show all customers having salary less than 65300,select * from customers where cust_annual_sal < 65300,"show all customers having salary less than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1611,show all customers having salary equal to 65300,select * from customers where cust_annual_sal = 65300,"show all customers having salary equal to 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1612,find all married customers having salary greater than 65300,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 65300,"find all married customers having salary greater than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1613,find all single customers having salary less than 65300,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 65300,"find all single customers having salary less than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1614,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 customers from australia having salary more than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1615,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 married customers from australia having salary less than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1616,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,"show all single customers from australia having salary less than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1617,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 business type customers from australia having salary equal to 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1618,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 premier type customers from australia having salary equal to 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1619,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,"find all regular type customers from australia having salary greater than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1620,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1621,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1622,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1623,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1624,show membership number of all customers from australia,select cust_mem_num from customers where cust_res_country = 'australia',"show membership number of all customers from australia | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1625,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1626,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1627,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1628,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1629,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1630,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1631,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1632,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1633,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1634,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1635,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1636,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1637,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1638,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1639,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1640,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1641,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1642,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1643,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1644,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1645,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1646,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1647,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1648,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1649,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1650,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1651,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1652,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1653,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1654,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1655,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1656,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1657,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1658,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1659,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1660,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1661,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1662,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1663,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1664,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1665,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 married customers from australia having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1666,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 business type customers from australia having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1667,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 premier type customers from australia having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1668,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 regular type customers from australia having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1669,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 business type customers from australia having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1670,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 premier type customers from australia having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1671,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 regular type customers from australia having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1672,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1673,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 premier type customers from australia having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1674,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1675,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 business type customers from australia having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1676,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',"find all regular type customers from australia having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1677,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1678,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1679,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',"show all single customers from australia having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1680,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 single customers from australia having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1681,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1682,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1683,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',"find all married customers from australia having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1684,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1685,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1686,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',"show all single customers from australia having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1687,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1688,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1689,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1690,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',"find all married customers from australia having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1691,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1692,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1693,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1694,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1695,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 greater than 65300 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1696,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 equal to 65300 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1697,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',"show all customers having salary less than 65300 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1698,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',"find all customers having salary more than 65300 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1699,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',"show all premier customers from australia having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1700,find all customers from turkey,select * from customers where cust_res_country = 'turkey',"find all customers from turkey | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1701,find all married customers from turkey,select * from customers where cust_res_country = 'turkey' and cust_mar_stat = 'married',"find all married customers from turkey | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1702,find all single customers from turkey,select * from customers where cust_res_country = 'turkey' and cust_mar_stat = 'single',"find all single customers from turkey | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1703,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1704,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1705,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1706,find all regular type customers from turkey,select * from customers where cust_res_country = 'turkey' and cust_type = 'regular',"find all regular type customers from turkey | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1707,find all business type customers from turkey,select * from customers where cust_res_country = 'turkey' and cust_type = 'business',"find all business type customers from turkey | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1708,find all premier type customers from turkey,select * from customers where cust_res_country = 'turkey' and cust_type = 'premier',"find all premier type customers from turkey | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1709,show all customers having salary greater than 65300,select * from customers where cust_annual_sal > 65300,"show all customers having salary greater than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1710,show all customers having salary less than 65300,select * from customers where cust_annual_sal < 65300,"show all customers having salary less than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1711,show all customers having salary equal to 65300,select * from customers where cust_annual_sal = 65300,"show all customers having salary equal to 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1712,find all married customers having salary greater than 65300,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 65300,"find all married customers having salary greater than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1713,find all single customers having salary less than 65300,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 65300,"find all single customers having salary less than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1714,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 customers from turkey having salary more than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1715,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 married customers from turkey having salary less than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1716,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,"show all single customers from turkey having salary less than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1717,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 business type customers from turkey having salary equal to 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1718,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 premier type customers from turkey having salary equal to 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1719,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,"find all regular type customers from turkey having salary greater than 65300 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1720,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1721,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1722,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1723,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1724,show membership number of all customers from turkey,select cust_mem_num from customers where cust_res_country = 'turkey',"show membership number of all customers from turkey | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1725,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1726,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1727,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1728,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1729,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1730,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1731,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1732,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1733,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1734,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1735,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1736,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1737,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1738,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1739,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1740,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1741,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1742,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1743,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1744,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1745,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1746,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1747,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1748,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1749,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1750,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1751,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1752,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1753,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1754,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1755,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1756,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1757,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1758,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1759,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1760,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1761,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1762,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1763,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1764,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1765,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 married customers from turkey having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1766,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 business type customers from turkey having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1767,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 premier type customers from turkey having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1768,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 regular type customers from turkey having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1769,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 business type customers from turkey having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1770,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 premier type customers from turkey having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1771,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 regular type customers from turkey having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1772,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1773,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 premier type customers from turkey having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1774,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1775,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 business type customers from turkey having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1776,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',"find all regular type customers from turkey having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1777,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1778,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1779,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',"show all single customers from turkey having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1780,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 single customers from turkey having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1781,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1782,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1783,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',"find all married customers from turkey having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1784,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1785,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1786,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',"show all single customers from turkey having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1787,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1788,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1789,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1790,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',"find all married customers from turkey having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1791,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1792,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1793,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1794,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1795,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 greater than 65300 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1796,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 equal to 65300 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1797,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',"show all customers having salary less than 65300 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1798,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',"find all customers having salary more than 65300 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1799,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',"show all premier customers from turkey having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1800,find all customers from iran,select * from customers where cust_res_country = 'iran',"find all customers from iran | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1801,find all married customers from iran,select * from customers where cust_res_country = 'iran' and cust_mar_stat = 'married',"find all married customers from iran | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1802,find all single customers from iran,select * from customers where cust_res_country = 'iran' and cust_mar_stat = 'single',"find all single customers from iran | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1803,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1804,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1805,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1806,find all regular type customers from iran,select * from customers where cust_res_country = 'iran' and cust_type = 'regular',"find all regular type customers from iran | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1807,find all business type customers from iran,select * from customers where cust_res_country = 'iran' and cust_type = 'business',"find all business type customers from iran | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1808,find all premier type customers from iran,select * from customers where cust_res_country = 'iran' and cust_type = 'premier',"find all premier type customers from iran | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1809,show all customers having salary greater than 12000,select * from customers where cust_annual_sal > 12000,"show all customers having salary greater than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1810,show all customers having salary less than 12000,select * from customers where cust_annual_sal < 12000,"show all customers having salary less than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1811,show all customers having salary equal to 12000,select * from customers where cust_annual_sal = 12000,"show all customers having salary equal to 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1812,find all married customers having salary greater than 12000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 12000,"find all married customers having salary greater than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1813,find all single customers having salary less than 12000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 12000,"find all single customers having salary less than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1814,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 customers from iran having salary more than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1815,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 married customers from iran having salary less than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1816,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,"show all single customers from iran having salary less than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1817,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 business type customers from iran having salary equal to 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1818,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 premier type customers from iran having salary equal to 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1819,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,"find all regular type customers from iran having salary greater than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1820,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1821,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1822,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1823,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1824,show membership number of all customers from iran,select cust_mem_num from customers where cust_res_country = 'iran',"show membership number of all customers from iran | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1825,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1826,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1827,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1828,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1829,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1830,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1831,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1832,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1833,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1834,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1835,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1836,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1837,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1838,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1839,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1840,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1841,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1842,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1843,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1844,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1845,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1846,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1847,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1848,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1849,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1850,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1851,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1852,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1853,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1854,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1855,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1856,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1857,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1858,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1859,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1860,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1861,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1862,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1863,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1864,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1865,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 married customers from iran having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1866,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 business type customers from iran having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1867,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 premier type customers from iran having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1868,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 regular type customers from iran having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1869,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 business type customers from iran having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1870,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 premier type customers from iran having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1871,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 regular type customers from iran having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1872,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1873,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 premier type customers from iran having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1874,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1875,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 business type customers from iran having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1876,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',"find all regular type customers from iran having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1877,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1878,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1879,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',"show all single customers from iran having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1880,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 single customers from iran having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1881,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1882,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1883,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',"find all married customers from iran having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1884,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1885,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1886,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',"show all single customers from iran having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1887,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1888,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1889,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1890,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',"find all married customers from iran having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1891,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1892,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1893,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1894,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1895,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 greater than 12000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1896,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 equal to 12000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1897,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',"show all customers having salary less than 12000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1898,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',"find all customers having salary more than 12000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1899,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',"show all premier customers from iran having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1900,find all customers from ghana,select * from customers where cust_res_country = 'ghana',"find all customers from ghana | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1901,find all married customers from ghana,select * from customers where cust_res_country = 'ghana' and cust_mar_stat = 'married',"find all married customers from ghana | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1902,find all single customers from ghana,select * from customers where cust_res_country = 'ghana' and cust_mar_stat = 'single',"find all single customers from ghana | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1903,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1904,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1905,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1906,find all regular type customers from ghana,select * from customers where cust_res_country = 'ghana' and cust_type = 'regular',"find all regular type customers from ghana | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1907,find all business type customers from ghana,select * from customers where cust_res_country = 'ghana' and cust_type = 'business',"find all business type customers from ghana | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1908,find all premier type customers from ghana,select * from customers where cust_res_country = 'ghana' and cust_type = 'premier',"find all premier type customers from ghana | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1909,show all customers having salary greater than 12000,select * from customers where cust_annual_sal > 12000,"show all customers having salary greater than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1910,show all customers having salary less than 12000,select * from customers where cust_annual_sal < 12000,"show all customers having salary less than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1911,show all customers having salary equal to 12000,select * from customers where cust_annual_sal = 12000,"show all customers having salary equal to 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1912,find all married customers having salary greater than 12000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 12000,"find all married customers having salary greater than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1913,find all single customers having salary less than 12000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 12000,"find all single customers having salary less than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1914,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 customers from ghana having salary more than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1915,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 married customers from ghana having salary less than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1916,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,"show all single customers from ghana having salary less than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1917,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 business type customers from ghana having salary equal to 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1918,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 premier type customers from ghana having salary equal to 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1919,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,"find all regular type customers from ghana having salary greater than 12000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1920,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1921,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1922,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1923,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1924,show membership number of all customers from ghana,select cust_mem_num from customers where cust_res_country = 'ghana',"show membership number of all customers from ghana | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1925,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1926,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1927,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1928,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1929,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1930,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1931,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1932,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1933,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1934,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1935,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1936,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1937,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1938,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1939,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1940,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1941,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1942,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1943,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1944,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1945,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1946,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1947,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1948,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1949,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1950,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1951,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1952,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1953,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1954,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1955,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1956,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1957,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1958,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1959,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1960,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1961,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1962,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1963,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1964,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1965,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 married customers from ghana having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1966,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 business type customers from ghana having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1967,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 premier type customers from ghana having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1968,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 regular type customers from ghana having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1969,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 business type customers from ghana having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1970,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 premier type customers from ghana having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1971,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 regular type customers from ghana having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1972,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1973,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 premier type customers from ghana having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1974,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1975,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 business type customers from ghana having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1976,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',"find all regular type customers from ghana having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1977,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1978,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1979,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',"show all single customers from ghana having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1980,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 single customers from ghana having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1981,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1982,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1983,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',"find all married customers from ghana having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1984,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1985,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1986,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',"show all single customers from ghana having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1987,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1988,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1989,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1990,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',"find all married customers from ghana having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1991,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1992,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1993,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1994,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1995,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 greater than 12000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1996,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 equal to 12000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1997,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',"show all customers having salary less than 12000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1998,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',"find all customers having salary more than 12000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +1999,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',"show all premier customers from ghana having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2000,find all customers from istanbul,select * from customers where cust_res_country = 'istanbul',"find all customers from istanbul | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2001,find all married customers from istanbul,select * from customers where cust_res_country = 'istanbul' and cust_mar_stat = 'married',"find all married customers from istanbul | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2002,find all single customers from istanbul,select * from customers where cust_res_country = 'istanbul' and cust_mar_stat = 'single',"find all single customers from istanbul | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2003,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2004,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2005,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2006,find all regular type customers from istanbul,select * from customers where cust_res_country = 'istanbul' and cust_type = 'regular',"find all regular type customers from istanbul | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2007,find all business type customers from istanbul,select * from customers where cust_res_country = 'istanbul' and cust_type = 'business',"find all business type customers from istanbul | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2008,find all premier type customers from istanbul,select * from customers where cust_res_country = 'istanbul' and cust_type = 'premier',"find all premier type customers from istanbul | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2009,show all customers having salary greater than 86000,select * from customers where cust_annual_sal > 86000,"show all customers having salary greater than 86000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2010,show all customers having salary less than 86000,select * from customers where cust_annual_sal < 86000,"show all customers having salary less than 86000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2011,show all customers having salary equal to 86000,select * from customers where cust_annual_sal = 86000,"show all customers having salary equal to 86000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2012,find all married customers having salary greater than 86000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 86000,"find all married customers having salary greater than 86000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2013,find all single customers having salary less than 86000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 86000,"find all single customers having salary less than 86000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2014,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 customers from istanbul having salary more than 86000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2015,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 married customers from istanbul having salary less than 86000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2016,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,"show all single customers from istanbul having salary less than 86000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2017,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 business type customers from istanbul having salary equal to 86000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2018,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 premier type customers from istanbul having salary equal to 86000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2019,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,"find all regular type customers from istanbul having salary greater than 86000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2020,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2021,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2022,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2023,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2024,show membership number of all customers from istanbul,select cust_mem_num from customers where cust_res_country = 'istanbul',"show membership number of all customers from istanbul | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2025,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2026,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2027,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2028,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2029,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2030,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2031,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2032,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2033,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2034,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2035,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2036,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2037,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2038,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2039,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2040,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2041,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2042,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2043,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2044,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2045,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2046,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2047,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2048,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2049,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2050,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2051,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2052,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2053,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2054,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2055,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2056,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2057,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2058,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2059,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2060,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2061,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2062,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2063,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2064,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2065,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 married customers from istanbul having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2066,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 business type customers from istanbul having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2067,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 premier type customers from istanbul having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2068,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 regular type customers from istanbul having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2069,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 business type customers from istanbul having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2070,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 premier type customers from istanbul having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2071,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 regular type customers from istanbul having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2072,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2073,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 premier type customers from istanbul having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2074,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2075,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 business type customers from istanbul having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2076,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',"find all regular type customers from istanbul having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2077,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2078,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2079,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',"show all single customers from istanbul having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2080,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 single customers from istanbul having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2081,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2082,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2083,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',"find all married customers from istanbul having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2084,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2085,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2086,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',"show all single customers from istanbul having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2087,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2088,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2089,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2090,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',"find all married customers from istanbul having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2091,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2092,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2093,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2094,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2095,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 greater than 86000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2096,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 equal to 86000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2097,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',"show all customers having salary less than 86000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2098,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',"find all customers having salary more than 86000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2099,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',"show all premier customers from istanbul having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2100,find all customers from hong kong,select * from customers where cust_res_country = 'hong kong',"find all customers from hong kong | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2101,find all married customers from hong kong,select * from customers where cust_res_country = 'hong kong' and cust_mar_stat = 'married',"find all married customers from hong kong | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2102,find all single customers from hong kong,select * from customers where cust_res_country = 'hong kong' and cust_mar_stat = 'single',"find all single customers from hong kong | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2103,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2104,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2105,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2106,find all regular type customers from hong kong,select * from customers where cust_res_country = 'hong kong' and cust_type = 'regular',"find all regular type customers from hong kong | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2107,find all business type customers from hong kong,select * from customers where cust_res_country = 'hong kong' and cust_type = 'business',"find all business type customers from hong kong | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2108,find all premier type customers from hong kong,select * from customers where cust_res_country = 'hong kong' and cust_type = 'premier',"find all premier type customers from hong kong | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2109,show all customers having salary greater than 98000,select * from customers where cust_annual_sal > 98000,"show all customers having salary greater than 98000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2110,show all customers having salary less than 98000,select * from customers where cust_annual_sal < 98000,"show all customers having salary less than 98000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2111,show all customers having salary equal to 98000,select * from customers where cust_annual_sal = 98000,"show all customers having salary equal to 98000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2112,find all married customers having salary greater than 98000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 98000,"find all married customers having salary greater than 98000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2113,find all single customers having salary less than 98000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 98000,"find all single customers having salary less than 98000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2114,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 customers from hong kong having salary more than 98000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2115,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 married customers from hong kong having salary less than 98000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2116,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,"show all single customers from hong kong having salary less than 98000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2117,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 business type customers from hong kong having salary equal to 98000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2118,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 premier type customers from hong kong having salary equal to 98000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2119,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,"find all regular type customers from hong kong having salary greater than 98000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2120,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2121,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2122,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2123,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2124,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 customers from hong kong | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2125,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2126,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2127,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2128,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2129,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2130,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2131,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2132,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2133,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2134,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2135,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2136,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2137,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2138,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2139,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2140,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2141,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2142,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2143,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2144,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2145,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2146,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2147,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2148,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2149,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2150,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2151,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2152,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2153,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2154,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2155,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2156,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2157,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2158,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2159,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2160,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2161,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2162,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2163,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2164,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2165,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 married customers from hong kong having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2166,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 business type customers from hong kong having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2167,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 premier type customers from hong kong having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2168,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 regular type customers from hong kong having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2169,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 business type customers from hong kong having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2170,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 premier type customers from hong kong having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2171,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 regular type customers from hong kong having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2172,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2173,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 premier type customers from hong kong having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2174,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2175,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 business type customers from hong kong having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2176,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',"find all regular type customers from hong kong having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2177,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2178,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2179,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',"show all single customers from hong kong having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2180,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 single customers from hong kong having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2181,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2182,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2183,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',"find all married customers from hong kong having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2184,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2185,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2186,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',"show all single customers from hong kong having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2187,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2188,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2189,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2190,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',"find all married customers from hong kong having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2191,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2192,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2193,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2194,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2195,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 greater than 98000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2196,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 equal to 98000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2197,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',"show all customers having salary less than 98000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2198,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',"find all customers having salary more than 98000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2199,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',"show all premier customers from hong kong having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2200,find all customers from portugal,select * from customers where cust_res_country = 'portugal',"find all customers from portugal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2201,find all married customers from portugal,select * from customers where cust_res_country = 'portugal' and cust_mar_stat = 'married',"find all married customers from portugal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2202,find all single customers from portugal,select * from customers where cust_res_country = 'portugal' and cust_mar_stat = 'single',"find all single customers from portugal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2203,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2204,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2205,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2206,find all regular type customers from portugal,select * from customers where cust_res_country = 'portugal' and cust_type = 'regular',"find all regular type customers from portugal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2207,find all business type customers from portugal,select * from customers where cust_res_country = 'portugal' and cust_type = 'business',"find all business type customers from portugal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2208,find all premier type customers from portugal,select * from customers where cust_res_country = 'portugal' and cust_type = 'premier',"find all premier type customers from portugal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2209,show all customers having salary greater than 25000,select * from customers where cust_annual_sal > 25000,"show all customers having salary greater than 25000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2210,show all customers having salary less than 25000,select * from customers where cust_annual_sal < 25000,"show all customers having salary less than 25000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2211,show all customers having salary equal to 25000,select * from customers where cust_annual_sal = 25000,"show all customers having salary equal to 25000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2212,find all married customers having salary greater than 25000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 25000,"find all married customers having salary greater than 25000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2213,find all single customers having salary less than 25000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 25000,"find all single customers having salary less than 25000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2214,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 customers from portugal having salary more than 25000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2215,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 married customers from portugal having salary less than 25000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2216,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,"show all single customers from portugal having salary less than 25000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2217,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 business type customers from portugal having salary equal to 25000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2218,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 premier type customers from portugal having salary equal to 25000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2219,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,"find all regular type customers from portugal having salary greater than 25000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2220,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2221,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2222,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2223,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2224,show membership number of all customers from portugal,select cust_mem_num from customers where cust_res_country = 'portugal',"show membership number of all customers from portugal | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2225,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2226,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2227,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2228,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2229,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2230,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2231,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2232,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2233,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2234,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2235,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2236,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2237,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2238,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2239,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2240,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2241,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2242,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2243,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2244,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2245,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2246,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2247,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2248,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2249,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2250,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2251,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2252,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2253,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2254,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2255,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2256,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2257,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2258,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2259,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2260,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2261,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2262,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2263,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2264,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2265,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 married customers from portugal having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2266,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 business type customers from portugal having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2267,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 premier type customers from portugal having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2268,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 regular type customers from portugal having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2269,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 business type customers from portugal having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2270,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 premier type customers from portugal having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2271,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 regular type customers from portugal having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2272,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2273,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 premier type customers from portugal having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2274,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2275,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 business type customers from portugal having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2276,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',"find all regular type customers from portugal having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2277,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2278,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2279,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',"show all single customers from portugal having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2280,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 single customers from portugal having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2281,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2282,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2283,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',"find all married customers from portugal having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2284,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2285,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2286,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',"show all single customers from portugal having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2287,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2288,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2289,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2290,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',"find all married customers from portugal having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2291,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2292,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2293,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2294,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2295,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 greater than 25000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2296,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 equal to 25000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2297,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',"show all customers having salary less than 25000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2298,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',"find all customers having salary more than 25000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2299,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',"show all premier customers from portugal having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2300,find all customers from bangladesh,select * from customers where cust_res_country = 'bangladesh',"find all customers from bangladesh | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2301,find all married customers from bangladesh,select * from customers where cust_res_country = 'bangladesh' and cust_mar_stat = 'married',"find all married customers from bangladesh | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2302,find all single customers from bangladesh,select * from customers where cust_res_country = 'bangladesh' and cust_mar_stat = 'single',"find all single customers from bangladesh | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2303,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2304,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2305,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2306,find all regular type customers from bangladesh,select * from customers where cust_res_country = 'bangladesh' and cust_type = 'regular',"find all regular type customers from bangladesh | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2307,find all business type customers from bangladesh,select * from customers where cust_res_country = 'bangladesh' and cust_type = 'business',"find all business type customers from bangladesh | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2308,find all premier type customers from bangladesh,select * from customers where cust_res_country = 'bangladesh' and cust_type = 'premier',"find all premier type customers from bangladesh | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2309,show all customers having salary greater than 74000,select * from customers where cust_annual_sal > 74000,"show all customers having salary greater than 74000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2310,show all customers having salary less than 74000,select * from customers where cust_annual_sal < 74000,"show all customers having salary less than 74000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2311,show all customers having salary equal to 74000,select * from customers where cust_annual_sal = 74000,"show all customers having salary equal to 74000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2312,find all married customers having salary greater than 74000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 74000,"find all married customers having salary greater than 74000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2313,find all single customers having salary less than 74000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 74000,"find all single customers having salary less than 74000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2314,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 customers from bangladesh having salary more than 74000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2315,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 married customers from bangladesh having salary less than 74000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2316,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,"show all single customers from bangladesh having salary less than 74000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2317,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 business type customers from bangladesh having salary equal to 74000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2318,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 premier type customers from bangladesh having salary equal to 74000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2319,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,"find all regular type customers from bangladesh having salary greater than 74000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2320,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2321,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2322,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2323,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2324,show membership number of all customers from bangladesh,select cust_mem_num from customers where cust_res_country = 'bangladesh',"show membership number of all customers from bangladesh | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2325,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2326,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2327,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2328,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2329,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2330,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2331,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2332,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2333,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2334,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2335,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2336,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2337,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2338,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2339,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2340,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2341,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2342,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2343,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2344,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2345,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2346,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2347,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2348,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2349,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2350,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2351,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2352,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2353,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2354,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2355,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2356,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2357,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2358,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2359,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2360,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2361,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2362,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2363,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2364,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2365,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 married customers from bangladesh having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2366,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 business type customers from bangladesh having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2367,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 premier type customers from bangladesh having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2368,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 regular type customers from bangladesh having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2369,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 business type customers from bangladesh having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2370,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 premier type customers from bangladesh having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2371,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 regular type customers from bangladesh having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2372,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2373,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 premier type customers from bangladesh having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2374,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2375,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 business type customers from bangladesh having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2376,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',"find all regular type customers from bangladesh having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2377,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2378,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2379,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',"show all single customers from bangladesh having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2380,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 single customers from bangladesh having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2381,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2382,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2383,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',"find all married customers from bangladesh having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2384,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2385,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2386,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',"show all single customers from bangladesh having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2387,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2388,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2389,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2390,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',"find all married customers from bangladesh having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2391,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2392,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2393,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2394,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2395,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 greater than 74000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2396,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 equal to 74000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2397,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',"show all customers having salary less than 74000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2398,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',"find all customers having salary more than 74000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2399,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',"show all premier customers from bangladesh having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2400,find all customers from pakistan,select * from customers where cust_res_country = 'pakistan',"find all customers from pakistan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2401,find all married customers from pakistan,select * from customers where cust_res_country = 'pakistan' and cust_mar_stat = 'married',"find all married customers from pakistan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2402,find all single customers from pakistan,select * from customers where cust_res_country = 'pakistan' and cust_mar_stat = 'single',"find all single customers from pakistan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2403,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2404,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2405,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2406,find all regular type customers from pakistan,select * from customers where cust_res_country = 'pakistan' and cust_type = 'regular',"find all regular type customers from pakistan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2407,find all business type customers from pakistan,select * from customers where cust_res_country = 'pakistan' and cust_type = 'business',"find all business type customers from pakistan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2408,find all premier type customers from pakistan,select * from customers where cust_res_country = 'pakistan' and cust_type = 'premier',"find all premier type customers from pakistan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2409,show all customers having salary greater than 2800,select * from customers where cust_annual_sal > 2800,"show all customers having salary greater than 2800 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2410,show all customers having salary less than 2800,select * from customers where cust_annual_sal < 2800,"show all customers having salary less than 2800 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2411,show all customers having salary equal to 2800,select * from customers where cust_annual_sal = 2800,"show all customers having salary equal to 2800 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2412,find all married customers having salary greater than 2800,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 2800,"find all married customers having salary greater than 2800 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2413,find all single customers having salary less than 2800,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 2800,"find all single customers having salary less than 2800 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2414,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 customers from pakistan having salary more than 2800 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2415,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 married customers from pakistan having salary less than 2800 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2416,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,"show all single customers from pakistan having salary less than 2800 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2417,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 business type customers from pakistan having salary equal to 2800 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2418,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 premier type customers from pakistan having salary equal to 2800 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2419,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,"find all regular type customers from pakistan having salary greater than 2800 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2420,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2421,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2422,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2423,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2424,show membership number of all customers from pakistan,select cust_mem_num from customers where cust_res_country = 'pakistan',"show membership number of all customers from pakistan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2425,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2426,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2427,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2428,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2429,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2430,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2431,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2432,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2433,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2434,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2435,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2436,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2437,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2438,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2439,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2440,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2441,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2442,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2443,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2444,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2445,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2446,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2447,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2448,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2449,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2450,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2451,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2452,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2453,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2454,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2455,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2456,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2457,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2458,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2459,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2460,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2461,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2462,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2463,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2464,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2465,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 married customers from pakistan having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2466,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 business type customers from pakistan having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2467,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 premier type customers from pakistan having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2468,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 regular type customers from pakistan having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2469,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 business type customers from pakistan having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2470,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 premier type customers from pakistan having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2471,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 regular type customers from pakistan having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2472,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2473,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 premier type customers from pakistan having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2474,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2475,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 business type customers from pakistan having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2476,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',"find all regular type customers from pakistan having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2477,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2478,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2479,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',"show all single customers from pakistan having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2480,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 single customers from pakistan having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2481,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2482,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2483,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',"find all married customers from pakistan having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2484,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2485,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2486,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',"show all single customers from pakistan having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2487,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2488,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2489,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2490,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',"find all married customers from pakistan having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2491,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2492,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2493,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2494,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2495,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 greater than 2800 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2496,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 equal to 2800 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2497,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',"show all customers having salary less than 2800 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2498,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',"find all customers having salary more than 2800 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2499,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',"show all premier customers from pakistan having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2500,find all customers from china,select * from customers where cust_res_country = 'china',"find all customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2501,find all married customers from china,select * from customers where cust_res_country = 'china' and cust_mar_stat = 'married',"find all married customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2502,find all single customers from china,select * from customers where cust_res_country = 'china' and cust_mar_stat = 'single',"find all single customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2503,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2504,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2505,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2506,find all regular type customers from china,select * from customers where cust_res_country = 'china' and cust_type = 'regular',"find all regular type customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2507,find all business type customers from china,select * from customers where cust_res_country = 'china' and cust_type = 'business',"find all business type customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2508,find all premier type customers from china,select * from customers where cust_res_country = 'china' and cust_type = 'premier',"find all premier type customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2509,show all customers having salary greater than 56500,select * from customers where cust_annual_sal > 56500,"show all customers having salary greater than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2510,show all customers having salary less than 56500,select * from customers where cust_annual_sal < 56500,"show all customers having salary less than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2511,show all customers having salary equal to 56500,select * from customers where cust_annual_sal = 56500,"show all customers having salary equal to 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2512,find all married customers having salary greater than 56500,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 56500,"find all married customers having salary greater than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2513,find all single customers having salary less than 56500,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 56500,"find all single customers having salary less than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2514,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 customers from china having salary more than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2515,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 married customers from china having salary less than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2516,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,"show all single customers from china having salary less than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2517,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 business type customers from china having salary equal to 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2518,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 premier type customers from china having salary equal to 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2519,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,"find all regular type customers from china having salary greater than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2520,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2521,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2522,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2523,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2524,show membership number of all customers from china,select cust_mem_num from customers where cust_res_country = 'china',"show membership number of all customers from china | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2525,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2526,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2527,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2528,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2529,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2530,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2531,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2532,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2533,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2534,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2535,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2536,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2537,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2538,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2539,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2540,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2541,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2542,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2543,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2544,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2545,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2546,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2547,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2548,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2549,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2550,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2551,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2552,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2553,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2554,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2555,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2556,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2557,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2558,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2559,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2560,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2561,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2562,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2563,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2564,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2565,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 married customers from china having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2566,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 business type customers from china having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2567,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 premier type customers from china having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2568,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 regular type customers from china having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2569,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 business type customers from china having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2570,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 premier type customers from china having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2571,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 regular type customers from china having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2572,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2573,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 premier type customers from china having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2574,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2575,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 business type customers from china having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2576,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',"find all regular type customers from china having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2577,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2578,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2579,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',"show all single customers from china having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2580,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 single customers from china having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2581,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2582,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2583,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',"find all married customers from china having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2584,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2585,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2586,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',"show all single customers from china having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2587,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2588,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2589,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2590,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',"find all married customers from china having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2591,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2592,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2593,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2594,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2595,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 greater than 56500 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2596,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 equal to 56500 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2597,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',"show all customers having salary less than 56500 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2598,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',"find all customers having salary more than 56500 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2599,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',"show all premier customers from china having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2600,find all customers from bhutan,select * from customers where cust_res_country = 'bhutan',"find all customers from bhutan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2601,find all married customers from bhutan,select * from customers where cust_res_country = 'bhutan' and cust_mar_stat = 'married',"find all married customers from bhutan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2602,find all single customers from bhutan,select * from customers where cust_res_country = 'bhutan' and cust_mar_stat = 'single',"find all single customers from bhutan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2603,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2604,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2605,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2606,find all regular type customers from bhutan,select * from customers where cust_res_country = 'bhutan' and cust_type = 'regular',"find all regular type customers from bhutan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2607,find all business type customers from bhutan,select * from customers where cust_res_country = 'bhutan' and cust_type = 'business',"find all business type customers from bhutan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2608,find all premier type customers from bhutan,select * from customers where cust_res_country = 'bhutan' and cust_type = 'premier',"find all premier type customers from bhutan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2609,show all customers having salary greater than 56500,select * from customers where cust_annual_sal > 56500,"show all customers having salary greater than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2610,show all customers having salary less than 56500,select * from customers where cust_annual_sal < 56500,"show all customers having salary less than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2611,show all customers having salary equal to 56500,select * from customers where cust_annual_sal = 56500,"show all customers having salary equal to 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2612,find all married customers having salary greater than 56500,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 56500,"find all married customers having salary greater than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2613,find all single customers having salary less than 56500,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 56500,"find all single customers having salary less than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2614,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 customers from bhutan having salary more than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2615,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 married customers from bhutan having salary less than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2616,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,"show all single customers from bhutan having salary less than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2617,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 business type customers from bhutan having salary equal to 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2618,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 premier type customers from bhutan having salary equal to 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2619,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,"find all regular type customers from bhutan having salary greater than 56500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2620,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2621,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2622,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2623,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2624,show membership number of all customers from bhutan,select cust_mem_num from customers where cust_res_country = 'bhutan',"show membership number of all customers from bhutan | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2625,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2626,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2627,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2628,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2629,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2630,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2631,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2632,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2633,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2634,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2635,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2636,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2637,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2638,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2639,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2640,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2641,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2642,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2643,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2644,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2645,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2646,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2647,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2648,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2649,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2650,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2651,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2652,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2653,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2654,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2655,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2656,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2657,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2658,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2659,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2660,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2661,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2662,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2663,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2664,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2665,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 married customers from bhutan having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2666,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 business type customers from bhutan having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2667,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 premier type customers from bhutan having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2668,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 regular type customers from bhutan having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2669,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 business type customers from bhutan having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2670,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 premier type customers from bhutan having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2671,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 regular type customers from bhutan having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2672,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2673,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 premier type customers from bhutan having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2674,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2675,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 business type customers from bhutan having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2676,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',"find all regular type customers from bhutan having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2677,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2678,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2679,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',"show all single customers from bhutan having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2680,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 single customers from bhutan having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2681,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2682,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2683,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',"find all married customers from bhutan having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2684,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2685,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2686,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',"show all single customers from bhutan having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2687,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2688,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2689,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2690,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',"find all married customers from bhutan having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2691,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2692,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2693,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2694,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2695,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 greater than 56500 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2696,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 equal to 56500 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2697,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',"show all customers having salary less than 56500 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2698,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',"find all customers having salary more than 56500 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2699,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',"show all premier customers from bhutan having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2700,find all customers from nigeria,select * from customers where cust_res_country = 'nigeria',"find all customers from nigeria | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2701,find all married customers from nigeria,select * from customers where cust_res_country = 'nigeria' and cust_mar_stat = 'married',"find all married customers from nigeria | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2702,find all single customers from nigeria,select * from customers where cust_res_country = 'nigeria' and cust_mar_stat = 'single',"find all single customers from nigeria | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2703,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2704,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2705,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2706,find all regular type customers from nigeria,select * from customers where cust_res_country = 'nigeria' and cust_type = 'regular',"find all regular type customers from nigeria | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2707,find all business type customers from nigeria,select * from customers where cust_res_country = 'nigeria' and cust_type = 'business',"find all business type customers from nigeria | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2708,find all premier type customers from nigeria,select * from customers where cust_res_country = 'nigeria' and cust_type = 'premier',"find all premier type customers from nigeria | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2709,show all customers having salary greater than 48000,select * from customers where cust_annual_sal > 48000,"show all customers having salary greater than 48000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2710,show all customers having salary less than 48000,select * from customers where cust_annual_sal < 48000,"show all customers having salary less than 48000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2711,show all customers having salary equal to 48000,select * from customers where cust_annual_sal = 48000,"show all customers having salary equal to 48000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2712,find all married customers having salary greater than 48000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 48000,"find all married customers having salary greater than 48000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2713,find all single customers having salary less than 48000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 48000,"find all single customers having salary less than 48000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2714,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 customers from nigeria having salary more than 48000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2715,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 married customers from nigeria having salary less than 48000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2716,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,"show all single customers from nigeria having salary less than 48000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2717,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 business type customers from nigeria having salary equal to 48000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2718,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 premier type customers from nigeria having salary equal to 48000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2719,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,"find all regular type customers from nigeria having salary greater than 48000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2720,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2721,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2722,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2723,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2724,show membership number of all customers from nigeria,select cust_mem_num from customers where cust_res_country = 'nigeria',"show membership number of all customers from nigeria | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2725,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2726,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2727,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2728,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2729,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2730,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2731,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2732,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2733,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2734,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2735,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2736,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2737,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2738,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2739,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2740,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2741,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2742,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2743,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2744,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2745,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2746,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2747,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2748,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2749,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2750,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2751,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2752,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2753,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2754,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2755,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2756,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2757,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2758,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2759,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2760,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2761,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2762,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2763,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2764,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2765,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 married customers from nigeria having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2766,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 business type customers from nigeria having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2767,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 premier type customers from nigeria having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2768,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 regular type customers from nigeria having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2769,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 business type customers from nigeria having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2770,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 premier type customers from nigeria having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2771,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 regular type customers from nigeria having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2772,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2773,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 premier type customers from nigeria having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2774,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2775,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 business type customers from nigeria having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2776,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',"find all regular type customers from nigeria having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2777,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2778,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2779,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',"show all single customers from nigeria having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2780,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 single customers from nigeria having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2781,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2782,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2783,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',"find all married customers from nigeria having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2784,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2785,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2786,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',"show all single customers from nigeria having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2787,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2788,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2789,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2790,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',"find all married customers from nigeria having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2791,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2792,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2793,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2794,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2795,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 greater than 48000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2796,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 equal to 48000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2797,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',"show all customers having salary less than 48000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2798,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',"find all customers having salary more than 48000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2799,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',"show all premier customers from nigeria having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2800,find all customers from finland,select * from customers where cust_res_country = 'finland',"find all customers from finland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2801,find all married customers from finland,select * from customers where cust_res_country = 'finland' and cust_mar_stat = 'married',"find all married customers from finland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2802,find all single customers from finland,select * from customers where cust_res_country = 'finland' and cust_mar_stat = 'single',"find all single customers from finland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2803,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2804,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2805,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2806,find all regular type customers from finland,select * from customers where cust_res_country = 'finland' and cust_type = 'regular',"find all regular type customers from finland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2807,find all business type customers from finland,select * from customers where cust_res_country = 'finland' and cust_type = 'business',"find all business type customers from finland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2808,find all premier type customers from finland,select * from customers where cust_res_country = 'finland' and cust_type = 'premier',"find all premier type customers from finland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2809,show all customers having salary greater than 26500,select * from customers where cust_annual_sal > 26500,"show all customers having salary greater than 26500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2810,show all customers having salary less than 26500,select * from customers where cust_annual_sal < 26500,"show all customers having salary less than 26500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2811,show all customers having salary equal to 26500,select * from customers where cust_annual_sal = 26500,"show all customers having salary equal to 26500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2812,find all married customers having salary greater than 26500,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 26500,"find all married customers having salary greater than 26500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2813,find all single customers having salary less than 26500,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 26500,"find all single customers having salary less than 26500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2814,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 customers from finland having salary more than 26500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2815,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 married customers from finland having salary less than 26500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2816,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,"show all single customers from finland having salary less than 26500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2817,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 business type customers from finland having salary equal to 26500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2818,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 premier type customers from finland having salary equal to 26500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2819,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,"find all regular type customers from finland having salary greater than 26500 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2820,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2821,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2822,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2823,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2824,show membership number of all customers from finland,select cust_mem_num from customers where cust_res_country = 'finland',"show membership number of all customers from finland | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2825,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2826,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2827,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2828,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2829,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2830,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2831,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2832,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2833,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2834,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2835,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2836,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2837,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2838,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2839,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2840,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2841,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2842,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2843,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2844,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2845,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2846,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2847,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2848,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2849,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2850,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2851,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2852,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2853,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2854,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2855,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2856,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2857,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2858,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2859,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2860,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2861,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2862,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2863,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2864,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2865,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 married customers from finland having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2866,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 business type customers from finland having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2867,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 premier type customers from finland having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2868,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 regular type customers from finland having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2869,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 business type customers from finland having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2870,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 premier type customers from finland having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2871,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 regular type customers from finland having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2872,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2873,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 premier type customers from finland having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2874,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2875,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 business type customers from finland having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2876,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',"find all regular type customers from finland having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2877,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2878,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2879,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',"show all single customers from finland having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2880,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 single customers from finland having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2881,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2882,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2883,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',"find all married customers from finland having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2884,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2885,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2886,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',"show all single customers from finland having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2887,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2888,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2889,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2890,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',"find all married customers from finland having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2891,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2892,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2893,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2894,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2895,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 greater than 26500 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2896,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 equal to 26500 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2897,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',"show all customers having salary less than 26500 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2898,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',"find all customers having salary more than 26500 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2899,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',"show all premier customers from finland having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2900,find all customers from india,select * from customers where cust_res_country = 'india',"find all customers from india | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2901,find all married customers from india,select * from customers where cust_res_country = 'india' and cust_mar_stat = 'married',"find all married customers from india | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2902,find all single customers from india,select * from customers where cust_res_country = 'india' and cust_mar_stat = 'single',"find all single customers from india | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2903,find all regular type customers,select * from customers where cust_type = 'regular',"find all regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2904,find all business type customers,select * from customers where cust_type = 'business',"find all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2905,find all premier type customers,select * from customers where cust_type = 'premier',"find all premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2906,find all regular type customers from india,select * from customers where cust_res_country = 'india' and cust_type = 'regular',"find all regular type customers from india | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2907,find all business type customers from india,select * from customers where cust_res_country = 'india' and cust_type = 'business',"find all business type customers from india | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2908,find all premier type customers from india,select * from customers where cust_res_country = 'india' and cust_type = 'premier',"find all premier type customers from india | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2909,show all customers having salary greater than 100000,select * from customers where cust_annual_sal > 100000,"show all customers having salary greater than 100000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2910,show all customers having salary less than 100000,select * from customers where cust_annual_sal < 100000,"show all customers having salary less than 100000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2911,show all customers having salary equal to 100000,select * from customers where cust_annual_sal = 100000,"show all customers having salary equal to 100000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2912,find all married customers having salary greater than 100000,select * from customers where cust_mar_stat = 'married' and cust_annual_sal > 100000,"find all married customers having salary greater than 100000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2913,find all single customers having salary less than 100000,select * from customers where cust_mar_stat = 'single' and cust_annual_sal < 100000,"find all single customers having salary less than 100000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2914,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 customers from india having salary more than 100000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2915,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 married customers from india having salary less than 100000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2916,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,"show all single customers from india having salary less than 100000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2917,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 business type customers from india having salary equal to 100000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2918,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 premier type customers from india having salary equal to 100000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2919,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,"find all regular type customers from india having salary greater than 100000 | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2920,show all married premier type customers,select * from customers where cust_type = 'premier' and cust_mar_stat = 'married',"show all married premier type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2921,show all married regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'married',"show all married regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2922,show all single regular type customers,select * from customers where cust_type = 'regular' and cust_mar_stat = 'single',"show all single regular type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2923,show membership number of all business type customers,select cust_mem_num from customers where cust_type = 'business',"show membership number of all business type customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2924,show membership number of all customers from india,select cust_mem_num from customers where cust_res_country = 'india',"show membership number of all customers from india | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2925,show membership number of all married customers,select cust_mem_num from customers where cust_mar_stat = 'married',"show membership number of all married customers | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2926,find all customers having an investment product,select distinct cust_id from products where pdt_cls_cde = 'iv',"find all customers having an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2927,find all customers having a savings product,select distinct cust_id from products where pdt_cls_cde = 'sa',"find all customers having a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2928,find all customers having a mortgages product,select distinct cust_id from products where pdt_cls_cde = 'mo',"find all customers having a mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2929,find all customers having a currency product,select distinct cust_id from products where pdt_cls_cde = 'cu',"find all customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2930,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2931,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2932,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2933,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2934,show all customers having a closed savings product,select distinct cust_id from products where pdt_cls_cde = 'sa' and pdt_curr_stat = 'inactive',"show all customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2935,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2936,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 an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2937,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 currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2938,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 customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2939,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 married customers having a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2940,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2941,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2942,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 married customers having an mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2943,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2944,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 an investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2945,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2946,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2947,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 single customers having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2948,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 investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2949,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2950,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 customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2951,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 married customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2952,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 single customers having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2953,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',"find all married customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2954,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',"show all single customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2955,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 premier customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2956,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 business customers having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2957,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 regular customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2958,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 premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2959,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 business customers having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2960,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 premier customers having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2961,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'","find all regular customers having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2962,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 regular customers having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2963,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 business customers having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2964,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'","show all premier customers having a closed mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2965,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 married customers from india having a closed investment product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2966,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 business type customers from india having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2967,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 premier type customers from india having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2968,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 regular type customers from india having an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2969,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 business type customers from india having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2970,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 premier type customers from india having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2971,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 regular type customers from india having a closed investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2972,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2973,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 premier type customers from india having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2974,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 an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2975,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 business type customers from india having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2976,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',"find all regular type customers from india having a closed savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2977,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2978,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2979,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',"show all single customers from india having a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2980,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 single customers from india having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2981,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 investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2982,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2983,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',"find all married customers from india having an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2984,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2985,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2986,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',"show all single customers from india having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2987,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2988,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 savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2989,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 a closed currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2990,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',"find all married customers from india having an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2991,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 mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2992,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 a savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2993,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 an investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2994,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 a currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2995,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 greater than 100000 and an active currency product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2996,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 equal to 100000 and an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2997,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',"show all customers having salary less than 100000 and an active mortgages product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2998,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',"find all customers having salary more than 100000 and an active savings product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +2999,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',"show all premier customers from india having an active investments product | db_id | customers : cust_id, cust_mem_num, cust_res_country, cust_fname, cust_lname, cust_type, cust_annual_sal, cust_mar_stat | products : cust_id, pdt_name, pdt_cls_cde, pdt_curr_stat" +3000,,, +3001,,, +3002,,, +3003,,, +3004,,, +3005,,, +3006,,, +3007,,, +3008,,, +3009,,, +3010,,, +3011,,, +3012,,, +3013,,, +3014,,, +3015,,, +3016,,, +3017,,, +3018,,, +3019,,, +3020,,, +3021,,, +3022,,, +3023,,, +3024,,, +3025,,, +3026,,, +3027,,, +3028,,, +3029,,, +3030,,, +3031,,, +3032,,, +3033,,, +3034,,, +3035,,, +3036,,, +3037,,, +3038,,, +3039,,, +3040,,, +3041,,, +3042,,, +3043,,, +3044,,, +3045,,, +3046,,, +3047,,, +3048,,, +3049,,, +3050,,, +3051,,, +3052,,, +3053,,, +3054,,, +3055,,, +3056,,,