Starlit Daily

📚 › SQL: databases

6. JOIN: combining tables

इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।

JOIN combines rows from two tables where a column matches. INNER JOIN keeps only matches; LEFT JOIN keeps every row of the left table.

उदाहरण देखें

SELECT s.name, c.title FROM students s INNER JOIN classes c ON s.class_id = c.id;

← कोर्स पर वापस