Creams productions
ProjectsNotities
  • main
    • Creams Productions
  • Notities
    • Notities
      • software ontwikeling Avans
        • Database(WIP)
          • Drop & Create table stament
          • Alter
          • INSERT INTO/ UPDATE / DELETE
          • Subquerys
          • DataTypes(WIP)
      • Scheikunde
        • Scheikunde(Havo 4) h1 & h2
        • Scheikunde(Havo 4) H3
        • Scheikunde Havo 5 h7
        • scheikunde havo 5 h8
        • scheikunde Havo 5 h9
        • scheikunde Havo 5 h10
        • scheikunde Havo 5 h11
      • Wiskunde
        • 10. Functies bewerken
        • 9. Afstand en hoeken
        • 8. Logaritmische functies
        • 7. Goniometrie
      • Informatica
        • D1 toets Arduino (mail opdracht)
          • voorbeeld 1
          • voorbeeld 2
          • voorbeeld 3
        • co-teach c2 (SQL)
      • Nederlands
        • formuleren h7
      • Natuurkunde
        • H7 natuurkunde golven
        • H5 Radioactief verval
        • sport en verkeer
      • Bedrijfs economie examen formules havo
  • Projects
    • Creams Console Utilities package documentation
      • Version 2
        • valueBar
        • Consoleout
        • writingstyle (text styling)
        • conBox(console boxes)
          • conboxFunc (functions to use with conbox)
          • Page 1
      • release 1(never finsished)
        • Selection menu
        • multiSelection menu
    • Projects
      • Project: Focus
      • chess ai 3.0
Powered by GitBook
On this page
  • Insert values into table for all columns
  • syntax
  • Insert values into table for certain columns
  • Syntax
  • Insert values from other table
  • syntax
  • Update
  • Syntax
  • Delete
  • Syntax
  1. Notities
  2. Notities
  3. software ontwikeling Avans
  4. Database(WIP)

INSERT INTO/ UPDATE / DELETE


Insert values into table for all columns


syntax

INSERT INTO TableName
VALUES(Value1, Value2, ... );

Insert values into table for certain columns


Syntax

INSERT INTO TableName(column1,column2,...)
VALUES(Value1,Value2,...);

Insert values from other table


syntax

INSERT INTO TableName(Column1, column2, ...)
SELECT Column1, column2, ...
FROM OtherTable
WHERE ...;

Update


The update statement is used for changing values of existing table records

Syntax

UPDATE TableName
SET Column1 = Value1, Column2 = Value2, ...
Where ...;

Delete


The delete stament is used for deleting existing records from table

Syntax

DELETE FROM TableName WHERE ...;

Last updated 8 months ago

BE AWARE!!!!! WHERE statement is not needed AND you can also use the insert table syntax of this

example