DML Flashcards
1
Q
INSERT DATA INTO TABLES
A
INSERT INTO tablename (collumnname1,collumnname2,…)
VALUES (‘value1,’value2’,…),(‘value1’,value2’,…);
2
Q
UPDATE DATA IN TABLES
A
UPDATE tablename
SET columnname = ‘value’
WHERE columnname = ‘value’
3
Q
DELETE DATA FROM TABLES
A
DELETE FROM tablename
WHERE columnname = value
DELETE FROM tablename
(διαγραφει ολα)