Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
modul:m290:learningunits:lu07:theorie:02 [2024/09/30 13:20] – vdemir | modul:m290:learningunits:lu07:theorie:02 [2024/10/25 15:30] (aktuell) – vdemir | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== | + | ====== |
**Sources** | **Sources** | ||
- [[https:// | - [[https:// | ||
- [[https:// | - [[https:// | ||
- | - [[https://www.youtube.com/ | + | - {{ :modul: |
===== INSERT Statement ===== | ===== INSERT Statement ===== | ||
Zeile 16: | Zeile 17: | ||
INSERT INTO employees (employee_id, | INSERT INTO employees (employee_id, | ||
VALUES (1, ' | VALUES (1, ' | ||
+ | | ||
+ | |||
- | ===== SINGLE | + | ===== SINGLE |
In SQL, inserting data into tables is a fundamental operation that is often performed using the INSERT INTO statement. This statement allows you to add new rows to a database table, either one at a time or in bulk. The two primary ways to insert data are through **single inserts** and **multiple inserts**. | In SQL, inserting data into tables is a fundamental operation that is often performed using the INSERT INTO statement. This statement allows you to add new rows to a database table, either one at a time or in bulk. The two primary ways to insert data are through **single inserts** and **multiple inserts**. | ||
Zeile 37: | Zeile 40: | ||
Multiple inserts are useful when you need to insert a large set of data at once, as it can significantly improve performance compared to running multiple single insert statements. | Multiple inserts are useful when you need to insert a large set of data at once, as it can significantly improve performance compared to running multiple single insert statements. | ||
+ | |||
+ | |||
==== Conclusion ==== | ==== Conclusion ==== |