AlibabaResearch / AlibabaResearch/DAMO-ConvAI

Question 180 wrong meaning

Đang mở
#218 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1.6k
Fork
250
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

"db_id": "financial",

"Please provide a list of clients who were born between 1983 and 1987 and whose account branch is in East Bohemia, along with their IDs."

Grammatically, the sentence reads: "Please provide a list of clients... along with their IDs." * The word "their" refers back to the subject, which is "clients." and not to the account id.

There for the following query is wrong:

"SELECT T1.client_id, T3.account_id FROM client AS T1 INNER JOIN district AS T2 ON T1.district_id = T2.district_id INNER JOIN disp AS T4 ON T1.client_id = T4.client_id INNER JOIN account AS T3 ON T2.district_id = T3.district_id and T4.account_id = T3.account_id WHERE T2.A3 = 'east Bohemia' AND STRFTIME('%Y', T1.birth_date) BETWEEN '1983' AND '1987'"

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.