-7
A
回答
4
CREATE VIEW EmpList
AS
SELECT a.id_user,
b.category_province_content,
c.category_city_content,
d.category_job_content
FROM user_detail a
INNER JOIN category_province b
ON a.detail_province = b.id_category_province
INNER JOIN category_city c
ON a.detail_city = c.id_category_city
INNER JOIN category_job d
ON a.detail_job = d.id_category_job
爲了進一步獲得更多的知識有關聯接和MySQL的意見,請訪問以下鏈接:
0
create view view1
as
select ud.id_user_detail, cp.category_province_content,
cc.category_city_content, cj.category_job_content
from user_detail ud, category_province cp,
category_city cc, category_job cj
where ud.detail_province=cp.id_category_province
and ud.detail_city=cc.id_category_city
and ud.detail_job=cj.id_category_job
相關問題
- 1. 創建視圖,SQL查詢性能
- 2. 創建視圖查詢
- 3. 使用SQL Server - 有沒有辦法查詢'創建視圖'SQL
- 4. 創建SQL查詢
- 5. 創建SQL查詢
- 6. 創建SQL查詢
- 7. 創建視圖SQL
- 8. 創建視圖SQL
- 9. 從firebase查詢創建列表視圖
- 10. 創建來自多個查詢視圖
- 11. 使用嵌套查詢創建視圖
- 12. 從聯合查詢創建視圖
- 13. SQL視圖創建查詢需要幫助
- 14. Azure SQL - 通過多個數據庫查詢創建視圖
- 15. 有沒有辦法從sql查詢中創建Drupal視圖
- 16. C#EF代碼 - 首先創建SQL視圖查詢
- 17. Mysql從SQL查詢創建靈活視圖
- 18. 基於Drupal中的SQL查詢創建視圖
- 19. 用於創建聚合視圖的Oracle sql查詢
- 20. 在該查詢SQL查詢創建列
- 21. SQL查詢創建跨列
- 22. 動態創建sql查詢
- 23. 創建一個SQL查詢
- 24. 協助創建SQL查詢
- 25. 休眠,創建SQL查詢
- 26. 如何創建SQL查詢
- 27. 動態SQL查詢創建
- 28. 在SQL中創建查詢
- 29. SQL [案件查詢視圖]
- 30. SQL視圖查詢不能
哪裏**正確**你卡? – Jocelyn