- 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;
推薦閱讀
- CockroachDB權(quán)威指南
- Mastering Ember.js
- 跟老齊學(xué)Python:輕松入門(mén)
- Bootstrap 4:Responsive Web Design
- Python Data Structures and Algorithms
- Mastering Unity 2D Game Development(Second Edition)
- 小程序,巧應(yīng)用:微信小程序開(kāi)發(fā)實(shí)戰(zhàn)(第2版)
- Android開(kāi)發(fā)三劍客:UML、模式與測(cè)試
- Android應(yīng)用開(kāi)發(fā)深入學(xué)習(xí)實(shí)錄
- SQL Server 入門(mén)很輕松(微課超值版)
- 會(huì)當(dāng)凌絕頂:Java開(kāi)發(fā)修行實(shí)錄
- Visual Basic程序設(shè)計(jì)基礎(chǔ)
- PHP項(xiàng)目開(kāi)發(fā)全程實(shí)錄(第4版)
- Python繪圖指南:分形與數(shù)據(jù)可視化(全彩)
- Analytics for the Internet of Things(IoT)