-4
A
回答
0
这将给所有不在 '日本', '巴西' 或 '意大利'),
Select C.Cust_first_name,C.Cust_Last_name from Customers C
Inner Join Countries C1
on C.Country_Id=C1.Country_Id
Where C1.Country_Name Not in('Japan', 'Brazil' or 'Italy')
and
C.Cust_Credit_Limit=(Select Min(Cust_Credit_Limit) From from Customers C)
如果我们转换问题代码的人那将是上面的代码, 脚本将返回不在('日本','巴西'或'意大利')中的人员的姓名和姓氏并且在整个客户库中具有最低工资。
0
选择顶部1 *从客户Ç
内部联接
( SELECT MIN(CUST_CREDIT_LIMIT)从客户C1
内在上C1.Country_id = C1.Country_id加入国家CT
其中CT.Country_Name不在('Japan','Brazil','Italy')
) C2上的C2.cust_credit_limit = C.cust_credit_limit
相关问题
- 1. 如何编写SQL查询?
- 2. 编写SQL查询
- 3. 编写SQL查询
- 4. 编写SQL查询
- 5. 如何在sql中编写此查询
- 6. 如何编写sql查询来计数?
- 7. 如何编写最佳SQL查询
- 8. 如何为此编写sql查询?
- 9. 如何在SQL中编写查询?
- 10. 如何编写失败的SQL查询?
- 11. 如何编写以下SQL查询?
- 12. 如何编写此SQL Server查询?
- 13. 如何使用groupby编写Sql查询?
- 14. 如何为此编写sql select查询?
- 15. 如何为此编写SQL查询?
- 16. 如何编写这个SQL查询?
- 17. 如何编写这个SQL子查询?
- 18. 如何将SQL查询编写为named_scope?
- 19. SQL:如何编写查询以下
- 20. 如何在laravel中编写sql查询
- 21. 如何为场景编写SQL查询?
- 22. 如何在cakephp中编写SQL查询?
- 23. 如何编写SQL查询,从该表
- 24. 如何在codeigniter中编写sql查询
- 25. 如何编写此SQL SELECT查询?
- 26. 如何编写下面的SQL查询?
- 27. 如何编写我的SQL查询?
- 28. 编写SQL查询在PHP
- 29. 编写Oracle SQL查询
- 30. 帮助编写SQL查询
请阅读[问]。你有什么尝试,为什么没有工作? – HoneyBadger
大多数人在这里想要格式化文本,而不是图像。 – jarlh