db_name stringclasses 146
values | prompt stringlengths 310 4.81k |
|---|---|
sakila_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# actor ( actor_id, first_name, last_name, last_update )
# address ( address_id, address, address2, district, city_id, postal_code, phone, last_update )
# category ( category_id, name, last_update )
# city ( city_i... |
sakila_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# actor ( actor_id, first_name, last_name, last_update )
# address ( address_id, address, address2, district, city_id, postal_code, phone, last_update )
# category ( category_id, name, last_update )
# city ( city_i... |
sakila_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# actor ( actor_id, first_name, last_name, last_update )
# address ( address_id, address, address2, district, city_id, postal_code, phone, last_update )
# category ( category_id, name, last_update )
# city ( city_i... |
sakila_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# actor ( actor_id, first_name, last_name, last_update )
# address ( address_id, address, address2, district, city_id, postal_code, phone, last_update )
# category ( category_id, name, last_update )
# city ( city_i... |
sakila_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# actor ( actor_id, first_name, last_name, last_update )
# address ( address_id, address, address2, district, city_id, postal_code, phone, last_update )
# category ( category_id, name, last_update )
# city ( city_i... |
sakila_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# actor ( actor_id, first_name, last_name, last_update )
# address ( address_id, address, address2, district, city_id, postal_code, phone, last_update )
# category ( category_id, name, last_update )
# city ( city_i... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
loan_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# bank ( branch_ID, bname, no_of_customers, city, state )
# customer ( cust_ID, cust_name, acc_type, acc_bal, no_of_loans, credit_score, branch_ID, state )
# loan ( loan_ID, loan_type, cust_ID, branch_ID, amount )
... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
behavior_monitoring | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Address_Types ( address_type_code, address_type_description )
# Ref_Detention_Type ( detention_type_code, detention_type_description )
# Ref_Incident_Type ( incident_type_code, incident_type_description )
# A... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.