Skip to content · ⁨דלג לתוכן⁩
English

Adding rows with INSERT

INSERT adds a new row to a table. List the columns, then a matching set of VALUES:

Text goes in single quotes; numbers do not. The values must line up with the columns, in the same order.

עברית

הוספת שורות עם INSERT

INSERT מוסיף שורה חדשה לטבלה. רשימו את העמודות, ולאחר מכן סט תואם של VALUES:

INSERT INTO product (code, title, price, in_stock)
VALUES ('P04', 'Ruler', 1.20, 75);

טקסט נכנס בתוך סימני ציטוט; מספרים לא. הערכים חייבים להיות מיושרים עם העמודות, באותו סדר.

INSERT מוסיף שורה חדשה לתחתית הטבלה

Handout · ⁨חומר עזר⁩

Log in or create account · ⁨היכנס או צור חשבון⁩

IGCSE, A-Level & AP