- MySQL 8 for Big Data
- Shabbir Challawala Jaydip Lakhatariya Chintan Mehta Kandarp Patel
- 87字
- 2021-08-20 10:06:13
INNER JOIN
This join returns records matching in both tables and returns relevant records. For example, the Order table used in any Ecommerce applications:

For example, the Customer table used in ecommerce application which consists Customer data:

The following query would fetch all order records with customer details. As the customer IDs 37 and 77 are not present in the customer table, it will fetch only the matching rows excluding customer IDs 37 and 77:
SELECT order.order_id, customer.name
FROM order
INNER JOIN customer ON order.customer_id = customer.customer_id;
推薦閱讀
- 零基礎(chǔ)學(xué)C++程序設(shè)計
- Android和PHP開發(fā)最佳實踐(第2版)
- Mastering OpenCV Android Application Programming
- 羅克韋爾ControlLogix系統(tǒng)應(yīng)用技術(shù)
- DevOps入門與實踐
- Mastering Ubuntu Server
- JavaScript從入門到精通(第3版)
- 手把手教你學(xué)C語言
- Java EE 7 Performance Tuning and Optimization
- 組態(tài)軟件技術(shù)與應(yīng)用
- JavaScript動態(tài)網(wǎng)頁編程
- 零基礎(chǔ)學(xué)Scratch 3.0編程
- JSP程序設(shè)計與案例實戰(zhàn)(慕課版)
- Python Machine Learning Cookbook
- Java EE項目應(yīng)用開發(fā)