query: SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id GROUP BY T1.cust_name ORDER BY sum(T2.amount) DESC LIMIT 1
question: What is the name of the customer have greatest total loan amount?
query_toks: SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name ORDER BY sum ( T2.amount ) DESC LIMIT 1
query_toks_no_value: select t1 . cust_name from customer as t1 join loan as t2 on t1 . cust_id = t2 . cust_id group by t1 . cust_name order by sum ( t2 . amount ) desc limit value
question_toks: What is the name of the customer have greatest total loan amount?